tomshanley / d3-sankey-circular

A fork of the d3-sankey library to allow circular links.
MIT License
89 stars 41 forks source link

Fit circular links within the specified sankey size and extent #4

Closed tomshanley closed 7 years ago

tomshanley commented 7 years ago

Current implementation creates circular links that go outside of the specified sankey size and extent, and relies on the user creating a margin that has enough space.

This would be better if all nodes/links fit within the specified sankey size and extent, in case the user doesn't know what circular links will be created, and where they will be placed.