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

Distribute or normalize nodes to fill available space #112

Open
Spenhouet opened this issue Jun 12, 2022 · 0 comments
Open

Distribute or normalize nodes to fill available space #112

Spenhouet opened this issue Jun 12, 2022 · 0 comments

Comments

@Spenhouet
Copy link

It would be nice if there would be an optional to distribute or normalize the nodes to fill the available space.

With node distribution the nodes would keep their width but would distribute to fill the parent container size.
Example for distributed nodes:
image

With node normalization the node width would be scaled so that all node widths together sum to 100%.
Example for normalized nodes:
image

This could be optionally activated for the start nodes, the end nodes and maybe even all nodes.
I think this would truly improve the design of Sankey diagrams.

I hope the idea is clear.

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