-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Sankey nodes overlap by default #2480
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
Thanks for the report. |
Update: It appears to be browser-specific; Chrome 65 has this issue, but the diagram renders properly on Safari 11 (both on Mac OS 10.13 High Sierra) |
And yet a different result in FF (image is Chrome / FF / Safari): Here it is as a pared-down codepen https://codepen.io/alexcjohnson/pen/NMdMbE?editors=1010 |
Update: the issue here is with a link with Obviously we need to prevent a zero (or otherwise invalid) Negative or non-numeric values I feel confident we should ignore, but I feel like there may be cases you still want a zero-size node to show up. Thoughts? |
Hi there,
As you can see here, a relatively simply sankey will often end up with nodes overlapping with other nodes, and the outgoing flows stacked as well. The code generating this diagram can be found here
Is there a reason this is happening?
Thanks!
R
The text was updated successfully, but these errors were encountered: