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

Enable depiction of duplicated flows (i.e. two lines with same origin and two different destinations) #63

Open
bestekov opened this issue Apr 19, 2023 · 0 comments

Comments

@bestekov
Copy link

I'll preface by saying I'm not sure whether this is possible in the underlying d3.js library or not. But assuming it is...

Use case: When using a Sankey diagram to depict the flow of data in a system. It is possible for data to be duplicated and flow to two different places.

For example say I have A that sends 1 unit of data to both B and C. If I represent that today like this:

a [1] b
a [1] c

Sankey will produce a view that says the value of A is 2:
2023-04-19_111427

However, I would like a way to mark a given set of edges as being a duplication of the flow and therefore overlap. To illustrate I used this input and then manually dragged the lines to overlap:

a1 [1] b
a2 [1] c

2023-04-19_111454

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant