限制节点的移动方向 #2047
限制节点的移动方向
#2047
-
是否可以限制节点的移动方向,比如只可以水平方向移动,只可以垂直方向移动 |
Beta Was this translation helpful? Give feedback.
Answered by
NewByVector
Apr 27, 2022
Replies: 1 comment 2 replies
-
使用 translate: { restrict: Rectang } 配置,将节点移动范围限制在一个矩形内部。 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
NewByVector
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用 translate: { restrict: Rectang } 配置,将节点移动范围限制在一个矩形内部。