Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the shortest path router generates weird-shaped edges #6443

Open
Cay222 opened this issue Oct 28, 2024 · 0 comments
Open

Using the shortest path router generates weird-shaped edges #6443

Cay222 opened this issue Oct 28, 2024 · 0 comments
Labels
element Issue about elements layout Issue about layout v5

Comments

@Cay222
Copy link

Cay222 commented Oct 28, 2024

Describe the bug / 问题描述

没有使用自动避障的正交路由的运行链接
生成的流程图如图:
image
因为正交路由生成的边不能避开节点,所以换成了最短路径路由。
shortest-path 生成的边避开了节点,但是形状很怪异,不知道这是为什么。
使用 shortest-path 路由生成的边如图:
image

Reproduction link / 重现链接

https://codesandbox.io/p/sandbox/shortest-path-cm26wc

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

@yvonneyx yvonneyx added v5 layout Issue about layout element Issue about elements labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
element Issue about elements layout Issue about layout v5
Projects
None yet
Development

No branches or pull requests

2 participants