X6
X6 copied to clipboard
设置snap会自动进行吸附,如果我想手动设置边吸附到某个连接桩,有api可以使用吗?
功能描述
我想在移入节点的时候,动态计算距离最近的并且是通过了校验的连接桩,然后设置吸附。 在鼠标移动的过程中,吸附的连接桩可能会动态改变。
期望解决方案
能够提供一个api,可以手动设置吸附,以及取消吸附。
👋 @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.
这个功能可能暂时不会支持,如果你有好的方案欢迎直接提PR帮助我们实现该功能~