Open matmust opened 2 years ago
I had the same problem, but a lower version seems to work, 4.9.0
Interestingly, if you turn animations on and set the animationThreshold high enough (higher than the number of nodes) the links disappear as expected.
confirmed bug in v.5.4.1
Parameters animation or animationThreshold does not seem to affect it in any way.
Demo Code - collapse any node and its children edges remain, do not get deleted.
One condition is top to have more than 10 children. Another is the bottom nodes to be uniform (same number of children).
@Petri-Oosthuizen, you were right about animationThreshold.
However, it has to be way bigger than the number of nodes. My code has 780 (13*10*3*2) nodes and
animationThreshold:3000 works, but animationThreshold:2000 does not.
I am trying to fix this issue in this pr
@Petri-Oosthuizen, you were right about animationThreshold. However, it has to be way bigger than the number of nodes. My code has 780 (13103*2) nodes and animationThreshold:3000 works, but animationThreshold:2000 does not.
Hi all am still facing the same issue, any news on when this will be fixed ?
Version
5.3.3
Link to Minimal Reproduction
https://codesandbox.io/s/echarts-tree-with-large-data-10elmq?file=/src/chart.js
Steps to Reproduce
Here is how i create chart:
Here is the option:
Current Behavior
Expanded the one of nodes and then collapsed. Links still exists for that node after collapse.
Expected Behavior
Expanded the one of nodes and then collapse. Links should not be exists for that node after collapse.
Environment
Any additional comments?
No response