tomshanley / d3-sankey-circular

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

Allow nodes to circular link to themself #2

Closed tomshanley closed 7 years ago

tomshanley commented 7 years ago

Currently the page will crash if a node links back to itself

tomshanley commented 7 years ago

FIXED: links can have same source and target node. Compares on node.name. These links are treated as circular links, but with different layout if the node only has one circular link (ie the self linking link)