addLinks() function can only be used once
Closed this issue · 0 comments
yangxy1998 commented
When using addLinks()
function for once, everything is OK.
But when using addLinks()
or addLink()
function for more than once, it looks like there are duplicated lines in the graph and it slow down the speed of browser.
By dragging the point, we can see the duplicated lines following behind the origin lines.
It seems to be a mistake in the addLinks()
method:
this.$_renderer.addLinks([...this.$_ends2link.values()]) // NOTE: preserve link order, not elegant
The links has been duplicated added, but cannot solve this problem at present.