Skip to content

如何自由移动节点的 label #3079

Answered by dukeP
dukeP asked this question in Q&A
Dec 21, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

已实现:
移动指定 label 需要在注册节点时添加自定义属性来作为标识;可以通过事件系统计算移动位置,利用 refX2、refY2 设置 label 位置;要注意的是需要利用标识在拖动指定 label 时禁止节点移动(interacting.nodeMoveable)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by dukeP
Comment options

You must be logged in to vote
2 replies
@SingleDogNo1
Comment options

@dukeP
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants