antvis / antvis/X6

链接桩绝对定位+曼哈顿路由连线出现异常

Open
#4,194 5 comments 0 reactions 0 assignees View on GitHub
type: bug 缺陷
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

一个链接桩的 y: '51%',一个为 y: '50%',当两个节点在一个水平位置,避障效果失效。

![recording](https://github.com/antvis/X6/assets/88022434/9c88a5c0-96b9-4e87-bc48-16f16a772242)

### 重现链接

https://codesandbox.io/p/sandbox/x6-port-wpn4pm

### 重现步骤

两个节点在一个水平位置,避障效果失效。

### 预期行为

相同水平位置也要有避障

### 平台

- 操作系统: [Windows]
- 网页浏览器: [Google Chrome]
- X6 版本: [2.18.1]

### 屏幕截图或视频(可选)

_No response_

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction and compare Manhattan routing when two horizontally aligned nodes use absolute port positions of y: '51%' and y: '50%'. Trace the X6 Manhattan-routing and obstacle-avoidance path from that example; done means aligned nodes still produce obstacle-avoiding connections in X6 2.18.1’s reported scenario.

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
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.