feat(graph): graph support multiple edges, for #6811 #12590
I found that in some cases, toggle legend will make multiple lines into single one.(overlapping)
Check it out in this demo: https://gallery.echartsjs.com/editor.html?c=xNQsu5DekH&v=2
Then I figured that
I changed two lines, and it worked.
// var source = [n1.id, n1.dataIndex].join('.'); var source = n1.id; // var target = [n2.id, n2.dataIndex].join('.'); var target = n2.id;
I am wondering why