节点怎么和UI组件交互 #1798
Unanswered
ThreeLambs
asked this question in
Q&A
节点怎么和UI组件交互
#1798
Replies: 1 comment 1 reply
-
右键菜单可以参考这个 demo |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如何添加节点右键菜单 ContextMenu 组件,或者在mousein时添加其他UI组件
graph.on('node:contextmenu', ({node}) => {
//TODO: 添加UI组件 ContextMenu
})
Beta Was this translation helpful? Give feedback.
All reactions