antvis / antvis/G6

[Bug]: Parallel edge settings do not support custom edges

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

Description

### Describe the bug / 问题描述

在使用自定义边开启平行边的设置时,自定义的边会变成默认的边line(改变曲率)
![image](https://github.com/user-attachments/assets/a17e6a1c-6ecb-4497-b4c5-03c4885c1349)
![image](https://github.com/user-attachments/assets/d249f147-9667-4b45-a617-e7a5de339823)

### Reproduction link / 复现链接

_No response_

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

在边数据的定义中配置了type为自定义边,并且在图实例化时没有配置默认边
开启平行边转换后自定义边不显示,显示了默认的实线边line

### G6 Version / G6 版本

🆕 5.x

### OS / 操作系统

- [ ] macOS
- [X] Windows
- [ ] Linux
- [ ] Others / 其他

### Browser / 浏览器

- [X] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the described G6 5.x configuration: use a custom edge type, omit the default edge, and enable parallel-edge conversion. Inspect the parallel-edge conversion and custom-edge handling entry points, then verify that the custom edge remains visible with its intended curve instead of becoming the default line edge.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.