[Bug]: graph更新edge数据后拖拽节点,节点与边连接断开
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug / 问题描述
使用`updateEdgeData`更新边数据后拖拽节点,出现节点与边断开连接
https://github.com/user-attachments/assets/e1802e70-f5c2-4fb0-a31c-06c648f45b81
### Reproduction link / 复现链接
https://stackblitz.com/edit/vitejs-vite-a7dd2x5l?file=src%2FApp.tsx
### Steps to Reproduce the Bug or Issue / 重现步骤
1、点击更新边
2、拖拽头、尾节点
### 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
Start with the linked StackBlitz reproduction and follow the updateEdgeData action, then reproduce the issue by dragging the head and tail nodes. Done means the edge remains connected after the edge data update and subsequent node dragging; no source files or tests are named in the issue.
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
- 45/100