tomshanley / d3-sankey-circular

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

Fix to update() #29

Closed antoinerg closed 5 years ago

antoinerg commented 5 years ago

Dear @tomshanley,

On an invocation of update(), circular links are forced to a value of top or bottom based on the previous position of the center connected nodes. This lead to an inconsistent result. We now force the circular link types based on the updated position of the nodes as one would expect.

Thank you!

tomshanley commented 5 years ago

thanks for fixing this!