有办法对 edge 的可移动范围进行限制吗? #1319
-
有办法对 edge 的可移动范围进行限制吗?文档里提到的好像仅针对 node 有效 https://x6.antv.vision/zh/docs/tutorial/basic/interacting/#restrict 比如说,我设置 restrict 为 { x: 0, y: 0, width: Infinity, height: Infinity } 可以使节点在 x >= 0 && y >= 0 的范围内移动 |
Beta Was this translation helpful? Give feedback.
Answered by
NewByVector
Feb 12, 2022
Replies: 1 comment
-
暂时不支持对 edge 移动进行限制。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NewByVector
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
暂时不支持对 edge 移动进行限制。