antvis/G6

使用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算法布局,边路由算法为正交。


This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests