X6 icon indicating copy to clipboard operation
X6 copied to clipboard

设置snap会自动进行吸附,如果我想手动设置边吸附到某个连接桩,有api可以使用吗?

Open dongchuancong1314 opened this issue 1 year ago • 1 comments

功能描述

我想在移入节点的时候,动态计算距离最近的并且是通过了校验的连接桩,然后设置吸附。 在鼠标移动的过程中,吸附的连接桩可能会动态改变。

期望解决方案

能够提供一个api,可以手动设置吸附,以及取消吸附。

dongchuancong1314 avatar Aug 28 '24 09:08 dongchuancong1314

👋 @dongchuancong1314

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

x6-bot[bot] avatar Aug 28 '24 09:08 x6-bot[bot]

这个功能可能暂时不会支持,如果你有好的方案欢迎直接提PR帮助我们实现该功能~

q32757468 avatar Aug 15 '25 02:08 q32757468