apache / echarts

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

Tree view hover issue when using polyline with focus: descendant #20136

Open flobachofner opened 1 month ago

flobachofner commented 1 month ago

Version

5.5.1

Link to Minimal Reproduction

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

Steps to Reproduce

In the example chart provided, you can see the problematic behavior.

Current Behavior

When hovering a node using the regular edges with focus: descendant, all nodes and edges below are highlighted. But, if you use the edgeShape: polyline with the same focus: descendant, only the child nodes and their edges are highlighted, but the edges to the children are left out.

Expected Behavior

All edges below the hovered node should be highlighted.

Environment

No response

Any additional comments?

No response

helgasoft commented 1 month ago

🐛 confirmed for immediate (1st level) descendant edges on hover: