Skip to content

Commit d268b73

Browse files
committed
use index as unique identifier for nodes
1 parent c1404fb commit d268b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/sankey/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function sankeyModel(layout, d, traceIndex) {
4646
.sankeyCircular()
4747
.circularLinkGap(2)
4848
.nodeId(function(d) {
49-
return d.pointNumber;
49+
return d.index;
5050
});
5151
} else {
5252
sankey = d3Sankey.sankey();

0 commit comments

Comments
 (0)