antvis / antvis/Graphin

Bug: 使用关联高亮时候,如果有节点icon是图片,另外节点hover上会显示该图片

Open
#269 2 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**
![Screen Shot 2021-07-26 at 3 52 21 PM](https://user-images.githubusercontent.com/7310875/126953629-37b3bda9-8f64-412e-acc1-6f135141ac68.png)

**To Reproduce**
https://codesandbox.io/s/ecstatic-mccarthy-ppn2w?file=/App.tsx

**Expected behavior**
正常显示节点,icon不管是font还是image。不关联则不显示

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction, especially App.tsx, and trace how associated highlighting handles node icons. Verify the behavior with both font and image icons, then confirm that unrelated nodes do not display another node's image while the node itself remains normally rendered.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.