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

Unwanted overlap of multiple/parallel links with sankeyLinkHorizontal #88

Open
stefaneidelloth opened this issue Nov 23, 2020 · 0 comments

Comments

@stefaneidelloth
Copy link

stefaneidelloth commented Nov 23, 2020

I want to create a sankey diagram where it is allowed to have multiple links between the same nodes.
Here I have two links between DE and FR (one link of value 1 and another link of value 2):

image

I would expect the neighboring links not to overlap, but they do.

=> Is that a bug of d3.sankeyLinkHorizontal ?

=> How can I ensure that the links from DE to FR run "in parallel" without overlap?

Another example for the use case of multiple/parallel links in sankey diagrams:

https://www.researchgate.net/figure/Sankey-diagram-of-material-flows-through-the-global-economy-world-and-the-EU-27-in_fig2_273459663

@stefaneidelloth stefaneidelloth changed the title Unwanted overlap of "parallel" links with sankeyLinkHorizontal Unwanted overlap of multiple/"parallel" links with sankeyLinkHorizontal Nov 23, 2020
@stefaneidelloth stefaneidelloth changed the title Unwanted overlap of multiple/"parallel" links with sankeyLinkHorizontal Unwanted overlap of multiple/parallel links with sankeyLinkHorizontal Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant