antvis / Graphin

A React toolkit for graph visualization based on G6
https://graphin.antv.antgroup.com
MIT License
980 stars 263 forks source link

badges 显示异常 #517

Open zhouxinyong opened 7 months ago

zhouxinyong commented 7 months 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