antvis / antvis/X6

路由 + segments 工具一起的时候,线条拖动 bug

Open
#3,660 4 comments 0 reactions 0 assignees View on GitHub
bug 🐛 oscp
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

当Graph的配置项中connecting.router.args.padding等于10,我给线条添加了EdgeTool小工具-segments。当拖动这个小工具的时候就会出现BUG,线条错乱。
企业微信截图_16861954412882

### Your Example Website or App

我们公司自己研发的产品

### Steps to Reproduce the Bug or Issue

建议划线的算法要考虑一下这个配置项

### Expected behavior

期望正常显示

### Screenshots or Videos

_No response_

### Platform

- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the problem with Graph connecting.router.args.padding set to 10 and an EdgeTool segments tool, then drag the tool to observe the malformed line. Trace the routing and line-drawing entry points involved in that configuration; done means dragging the segments tool keeps the line displayed normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.