[Bug]: 自定义react节点是圆形的,但计算连线时,却是方形的,导致不同位置的连线有间隙
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug / 问题描述
自定义react节点是圆形的,但计算连线时,却是方形的,导致不同位置的连线有间隙;连线在正左侧,没有间隙,在左上方就存在间隙
效果图:
### Reproduction link / 复现链接
_No response_
### Steps to Reproduce the Bug or Issue / 重现步骤
### Version / 版本
🆕 5.x
### OS / 操作系统
- [x] macOS
- [ ] Windows
- [ ] Linux
- [ ] Others / 其他
### Browser / 浏览器
- [x] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files, tests, reproduction link, or reproduction steps are provided. Start by building a minimal G6 5.x example with a custom circular React node and compare connections on the left and upper-left; done means connections meet the circular boundary without gaps in the reported macOS Chrome case.
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
- Needs clarification
- Newbie friendliness
- 35/100