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
1条答案
按热度按时间dldeef671#
🐛 confirmed for immediate (1st level) descendant edges on hover:
edgeShape: 'polyline'
- edges not shown, hidden as the other non-descendant ?!? Root node is an exception - immediate descendant edges are emphasized correctly.edgeShape: 'curve'
- edges displayed as expected