echarts Tree view hover issue when using polyline with focus: descendant

sbtkgmzw  于 5个月前  发布在  Echarts
关注(0)|答案(1)|浏览(49)

Version

5.5.1

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

dldeef67

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

相关问题