Skip to content

Commit

Permalink
0.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Mar 11, 2019
1 parent 9ccaed7 commit 20319c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d3-sankey",
"version": "0.12.0",
"version": "0.12.1",
"description": "Visualize flow between nodes in a directed acyclic network.",
"keywords": [
"d3",
Expand Down

2 comments on commit 20319c3

@jerchenxin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I use the Sankey diagram, if links between nodes have a loop, then there will be an infinite loop in the function "computeNodeBreadths()" in "sankey.js". So maybe is's better to check the links while initializing the object called "d3.sankey()".

@mbostock
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ZJUChenX That was fixed in ef0ca63, version 0.9.1.

Please sign in to comment.