antvis / antvis/Graphin

badges 显示异常

Open
#517 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.1k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

### 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

- OS: macOS
- Browser: Chrome
- Version: LTS

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Open the linked CodeSandbox and start with App.tsx, then reproduce the two badge-visibility cases by clicking the legend and individual nodes. Done means inactive or unrelated nodes have badges hidden or visibly de-emphasized in both interactions, with the behavior checked in the stated macOS Chrome environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.