antvis/G6

The issue has been closed
使用elk布局后,开启sourceAnchor后,节点的位置顺序会引起连线的交叉 #5158
huturen posted onGitHub
问题描述
使用elk布局后,开启sourceAnchor后,节点的位置顺序会引起连线的交叉
<img width="623" alt="image" src="https://github.com/antvis/G6/assets/5173298/3d483530-e225-4f4c-b68d-8ecbda6503e0">
重现链接
https://codesandbox.io/s/fragrant-http-jt33f3?file=/index.js
重现步骤
进入页面,即可复现: https://codesandbox.io/s/fragrant-http-jt33f3?file=/index.js:0-7860
预期行为
预期行为: 节点位置,不会影响连线的交叉
平台
- 操作系统: macOS 13.5
- 网页浏览器: Chrome 119.0.6045.105
- G6 版本:
@antv/g6 - 4.8.23
屏幕截图或视频(可选)
No response
补充说明(可选)
程序使用了elkjs的layered算法布局,边路由算法为正交。