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

Equal-width Sankey plots #25

Open
briochemc opened this issue Apr 13, 2022 · 2 comments
Open

Equal-width Sankey plots #25

briochemc opened this issue Apr 13, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@briochemc
Copy link

I thought it might be a useful to share this resource in case you'd want to implement it. (It makes them sankey plots look nicer IMHO!)

Their "brute force" idea that seems to work well:

  1. draw the "middle" path connecting the middles of source and target
  2. then build the band by drawing the curves above and below as if using a pen of fixed length and always perpendicular to the middle path as you travel that said middle path.

An image is worth a thousand words, so here is one of their GIFs that shows the difference quite nicely I think:

Hope this is helpful,
Cheers!

@davide-f
Copy link
Collaborator

Dear @briochemc,

Thank you for the contribution; the approach looks nice, however, I have no time to implement this feature.
Feel free to open a PR if you are interested into it. I can give advices in case.

Best,
Davide

@davide-f davide-f added the enhancement New feature or request label Apr 17, 2022
@daschw
Copy link
Owner

daschw commented Apr 24, 2022

Thanks for the hint! That does indeed look nice. It probably would be best to have both options.

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

No branches or pull requests

3 participants