iconRadius is exception under a specific layout
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug / 问题描述
在 “force” 布局下, 如果给icon增加 iconRadius 属性,就会出现bug,一会显示一会不显示(如缩放拖动都会这样)
例子中给出的 达尔文 节点可以复现这一现象
### Reproduction link / 重现链接
https://stackblitz.com/edit/react-vqdqdc-w1e6xr?file=package.json,index.js
### Steps to Reproduce the Bug or Issue / 重现步骤
_No response_
### G6 Version / G6 版本
🆕 5.x
### Operating System / 操作系统
Windows
### Browser / 浏览器
Chrome
### Additional context / 补充说明
_No response_
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked StackBlitz reproduction and confirm the issue using G6 5.x with the force layout and an iconRadius on the Darwin node. Trace the icon rendering during zooming and dragging; done means the icon remains consistently visible throughout those interactions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100