apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.64k stars 19.61k forks source link

[Bug] polyline树图,包含子级的子级全部收缩后,再收缩父级,会残留父子级之间的连线 #20209

Open 122504387 opened 3 months ago

122504387 commented 3 months ago

Version

5.2.2

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=tree-polyline

Steps to Reproduce

打开官方示例,先将第二级节点全部收缩,然后再点击第一级节点,就会残留一二级之间的曲线,(中间不做任何操作)。 image

Current Behavior

打开官方示例,先将第二级节点全部收缩,然后再点击第一级节点,就会残留一二级之间的曲线,(中间不做任何操作); 不只是第一二级,其他层级也会出现此问题。

Expected Behavior

希望收缩后没有残留

Environment

- OS:
- Browser:Chrome 124.0.6367.79(正式版本) (64 位)
- Framework:

Any additional comments?

希望尽快解决

echarts-bot[bot] commented 3 months ago

@122504387 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED
**TITLE** [Bug] polyline tree diagram, after all the children containing the children are shrunk, and then the parents are contracted, the connection between the parents and children will remain
helgasoft commented 3 months ago

duplicate of #17266 and others, but the example is good