[Bug] echarts 树图节点超过2000个后收起节点不会销毁节点间连线
Open
bug
pending
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.4.3
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html
### Steps to Reproduce
仅需在https://echarts.apache.org/examples/zh/editor.html内创建个tree类型的图表
### Current Behavior
option = {
series: [
{
type: 'tree',
initialTreeDepth: -1,
roam: true,
data: [
{
name: 'root',
children: [...] // 节点数量>=2000
}
],
label: {
position: 'right'
}
}
]
};
### Expected Behavior
节点数大于2000时收起节点仍能正常销毁节点间连线
### Environment
```markdown
- OS:
- Browser: Chrome 131.0.6778.140
- Framework:
```
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.