New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug report]group嵌套group,子group的children丢失 #803
Comments
我刚试了一下,如果把groupA拖入groupB,groupA内部的子节点还是属于groupA,这个是没问题的。现在是把一个新的节点C,想要拖入groupB, 这个时候发现只能拖入groupB。你是说的这个问题是吧? |
—————————— —————— |
目前group嵌套和重合确实没处理,稍后加一个,新节点拖入group时,会拖入到最"上"方的group。 |
了解。那就辛苦大佬了。 |
问题描述
参考x6使用addChild方法,加入关联关系(子group节点-abc),然后拖入节点(q),发现节点(q)并为拖入到子group内(abc)
group内的group的children也正常拥有节点id
复现demo源码地址
https://codesandbox.io/s/festive-scott-xif2no
复现demo链接地址
https://xif2no.csb.app/
复现demo拖入节点情况
复现demo的json数据
参考地址*
1.https://x6.antv.vision/zh/examples/node/group#collapsable
2.http://logic-flow.org/guide/extension/component-group.html
版本*
"@logicflow/core": "1.1.27"
"@logicflow/extension": "1.1.27"
The text was updated successfully, but these errors were encountered: