如何定义一个群组类React节点(此节点天生具有特定子节点)? #4102
Unanswered
Snorlaxx-plot
asked this question in
Q&A
Replies: 2 comments 2 replies
-
这是一个很头疼很麻烦的事情,我不知道有没有更好的方法,我用的笨方法是onNodeAdded的时候,手动创建并添加子节点和连线,然后重新布局。但是我这种在撤销删除的时候有bug,可能是我的组件太复杂了 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如题。
Beta Was this translation helpful? Give feedback.
All reactions