antvis/G6
Do you want to work on this issue?
You can request for a bounty in order to promote it!
Using the shortest path router generates weird-shaped edges #6443
Cay222 posted onGitHub
Describe the bug / 问题描述
没有使用自动避障的正交路由的运行链接
生成的流程图如图:
因为正交路由生成的边不能避开节点,所以换成了最短路径路由。
shortest-path
生成的边避开了节点,但是形状很怪异,不知道这是为什么。
使用 shortest-path
路由生成的边如图:
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