Skip to content

[Bug] echarts 树图节点超过2000个后收起节点不会销毁节点间连线 #20657

@wlllrain

Description

@wlllrain

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

- OS:
- Browser: Chrome 131.0.6778.140
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions