antvis / antvis/G6

Parallel edges are invalid when using custom edges

Open
#6,475 1 comment 0 reactions 0 assignees View on GitHub
bug 🐛 v5
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

需要给边做一些定制,但平行边不生效。
似乎平行边只在不指定edge.type时有效。
![image](https://github.com/user-attachments/assets/b4648e1a-4118-4e36-b232-4d1f5b3861b2)

### Reproduction link / 重现链接

https://stackblitz.com/edit/react-sqwqhv?file=index.js

### Steps to Reproduce the Bug or Issue / 重现步骤

_No response_

### G6 Version / G6 版本

🆕 5.x

### Operating System / 操作系统

Windows

### Browser / 浏览器

Chrome

### Additional context / 补充说明

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked StackBlitz reproduction at index.js and compare the custom edge configuration with the case where edge.type is omitted. Verify the behavior with parallel edges, then confirm that parallel edges render correctly while using a custom edge type.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.