Skip to content
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

Distorted link loop in sankey diagram #7132

Open
mateo-forjan opened this issue Aug 27, 2024 · 0 comments
Open

Distorted link loop in sankey diagram #7132

mateo-forjan opened this issue Aug 27, 2024 · 0 comments
Labels
bug something broken P3 backlog

Comments

@mateo-forjan
Copy link

mateo-forjan commented Aug 27, 2024

Hi,
Hi, I figured out that in Sankey diagram in some cases where the link should be a loop, e.g. link from Node 4 to Node 1 in (https://codepen.io/mateo-forjan/pen/BagVGEx), that loop becomes distorted if you move the Node 4 to the left of the Node 1, as in (https://codepen.io/mateo-forjan/pen/wvLXQNj).
Distortion makes it hard to understand what's happening and gives the impression that something went wrong.
I am also attaching a plotly minimal example .zip with the script and an .html file. If you open an .html file and move the node "Plenum Oxicar Out 1" to the right and "Afterburner 1/Oxicat" to the left (basically exchange their positions) you get the distorted link loop.
plotly_minimal_example.zip

@gvwilson gvwilson added bug something broken P3 backlog labels Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P3 backlog
Projects
None yet
Development

No branches or pull requests

2 participants