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

链接桩绝对定位+曼哈顿路由连线出现异常 #4194

Open
oyal opened this issue Feb 1, 2024 · 3 comments
Open

链接桩绝对定位+曼哈顿路由连线出现异常 #4194

oyal opened this issue Feb 1, 2024 · 3 comments

Comments

@oyal
Copy link

oyal commented Feb 1, 2024

问题描述

一个链接桩的 y: '51%',一个为 y: '50%',当两个节点在一个水平位置,避障效果失效。

recording

重现链接

https://codesandbox.io/p/sandbox/x6-port-wpn4pm

重现步骤

两个节点在一个水平位置,避障效果失效。

预期行为

相同水平位置也要有避障

平台

  • 操作系统: [Windows]
  • 网页浏览器: [Google Chrome]
  • X6 版本: [2.18.1]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@cangsnage
Copy link

楼主这个问题解决了么

@oyal
Copy link
Author

oyal commented Mar 7, 2024

楼主这个问题解决了么

没有好的解决方案

@oyal
Copy link
Author

oyal commented Mar 7, 2024

楼主这个问题解决了么

看了源码是最多循环 2000 次。找不到终点就用正交路由了。当起点终点出现小数点或者不在网格布局中,要经过很多次循环才能找到终点,并且还受到节点宽高影响,避障节点宽高越小循环次数也就越少。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants