antvis/G6


The issue has been closed
[Bug]: 脑图树register注册展开收起的时候,高亮相邻节点的高亮效果不会消失 #6933
worldstop posted onGitHub
Describe the bug / 问题描述
点击展开收起,高亮相邻节点的高亮效果不会消失,需要重新鼠标移入移出
Reproduction link / 复现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
js behaviors: [ { type: 'hover-activate', enable: (event) => event.targetType === 'node', degree: 2, // 👈🏻 Activate relations. state: 'highlight', animation:false, inactiveState: 'dim', }, ], 把这段代码添加到G6场景案例中的资金流向
Version / 版本
🆕 5.x
OS / 操作系统
- macOS
- Windows
- Linux
- Others / 其他
Browser / 浏览器
- Chrome
- Edge
- Firefox
- Safari (Limited support / 有限支持)
- IE (Nonsupport / 不支持)
- Others / 其他