combo内的节点为何更新不了? #6636
Unanswered
changxuexu
asked this question in
Q&A
Replies: 1 comment 1 reply
-
是想删除节点还是解除节点与 Combo 的嵌套关系呢
|
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
-
let curNode = graph.getNodeData(contextmenuEvent.target.id)
if(curNode['combo']){
delete curNode['combo']
graph.updateNodeData([curNode])
graph.draw();
}
一个组合内的节点这种写方法为何不能更新?就是想从组合中去除某个节点?
Beta Was this translation helpful? Give feedback.
All reactions