antvis / antvis/X6

连接桩添加限制:起始节点只能连一条线后,使用边上工具修改连接点,高亮不显示

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

Description

### 问题描述

连接桩添加限制:起始节点只能连一条线后,使用边上工具修改连接点,高亮不显示

### 重现链接

https://codesandbox.io/embed/dazzling-resonance-qhgghz?fontsize=14&hidenavigation=1&theme=dark

### 重现步骤

1 连接桩添加限制起始节点只能连一条线后,
2 使用边上工具修改连接点,高亮不显示
3 去掉限制起始节点只能连一条线后,使用边上工具修改连接点,高亮显示

### 预期行为

可以连接时,连接桩高亮显示

### 平台

- 操作系统: Windows,
- 网页浏览器:Chrome

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

1 添加了限制时

![GIF 2023-11-14 22-38-52](https://github.com/antvis/X6/assets/36666350/448df7ca-b924-4992-ba80-8e768a1c2b88)
2 去掉限制时
![GIF 2023-11-14 22-41-14](https://github.com/antvis/X6/assets/36666350/8ba499e1-0e7f-4da3-8306-6334a1dc2aaa)

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the CodeSandbox reproduction linked in the issue and follow the three reported steps in Chrome on Windows. Compare connection-point highlighting when the start node is limited to one edge versus unlimited. Done means the connection point highlights whenever another connection is allowed under the restriction.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.