@antv/x6-plugin-selection选择边后位置变化,边和框的位置不一致
- Dominant language
- TypeScript
- Stars
- 6.7k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
当前版本开启showEdgeSelectionBox后,选中边,如果拖动节点导致边变化位置,会产生边和框的位置不一致的情况
### Your Example Website or App
https://x6.antv.antgroup.com/tutorial/plugins/selection
### Steps to Reproduce the Bug or Issue
1、实例化@antv/x6-plugin-selection并设置showEdgeSelectionBox为true
2、选中任意边
3、拖动被边连接的节点使边变化位置
### Expected behavior
边的选框会随位置变化而变化
### Screenshots or Videos

### Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 2.11.1]
### Additional context
_No response_
Contributor guide
Research direction
Start with the selection plugin example at https://x6.antv.antgroup.com/tutorial/plugins/selection and reproduce the issue with showEdgeSelectionBox enabled. Trace how selecting an edge and moving a connected node updates the edge and its selection box. Done means the box follows the edge after the connected node moves.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100