antvis / Graphin

🌌 A React toolkit for graph visualization based on G6.
https://github.com/antvis/graphin
MIT License
1.03k stars 266 forks source link

badges 显示异常 #517

Open zhouxinyong opened 1 year ago

zhouxinyong commented 1 year ago

Describe the bug

badges 未被正确显示

Your Example Website or App

https://codesandbox.io/s/objective-tu-n9yvdd?file=/App.tsx

Steps to Reproduce the Bug or Issue

  1. 点击legend, inactive的节点的badge还是会显示
  2. 点击某一个节点,非关联的节点的badge还是会显示

Expected behavior

  1. 点击legend, inactive的节点的badge应该不显示或者非高亮显示
  2. 点击某一个节点,非关联的节点的badge应该不显示或者非高亮显示

Screenshots or Videos

No response

Platform

Additional context

No response