Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
flobachofner opened this issue Jul 10, 2024 · 1 comment
Open

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

flobachofner opened this issue Jul 10, 2024 · 1 comment
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature.

Comments

@flobachofner
Copy link

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

@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Jul 10, 2024
@helgasoft
Copy link

🐛 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

2 participants