-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
allow users to sort nodes in Sankey plot #4373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@antoinerg can you confirm that the current sankey implementation does not allow sorting nodes? |
@etpinard I confirm we don't currently allow sorting nodes. However, it seems like underlying engines support it:
|
It would be great to have this feature! |
@archmoj I really need this feature. |
I'm also interested in this feature, and had a look into implementing this. The main challenge is that the plotly fork of d3-sankey (https://github.com/plotly/d3-sankey) is quite old and doesn't include the Then you can simply call |
Pinging here, this feature would be really useful for reproducibility. I understand we can specify x/y coordinates, but if I have to do a nontrivial layout like that, I may as well paint traces myself without using Plotly. It is a bit weird that this is supported by the underlying d3 but plotly cannot expose. This kind of issue has been open for years now... |
Would still be useful. It makes the use of Sankey diagrams combined to sliders rather irrelevant, as position of the nodes might change at each step... |
Would be very useful to add a feature to enable users to sort nodes based on their desired output.
The text was updated successfully, but these errors were encountered: