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

Allow sankeys made of a single node with a circular link #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gidesan
Copy link

@gidesan gidesan commented Mar 8, 2022

This PR allows sankeys made of a single node with a circular link.

Without this PR, such scenario would result in a division by zero and no sankey displayed (because of NaN dimensions).

On top of that, I figured out last codebase changes weren't published to npm (probably last npm version is this one de98c76).

Thanks a lot!

Without this fix, such scenario will have been ended with a division by zero and no sankey displayed (because of NaN dimensions)
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

Successfully merging this pull request may close these issues.

1 participant