When I select several nodes to generate a group, I will overwrite other nodes. How can I prevent them from overwriting and automatic layout
If you do not set either Diagram.layout or Group.layout, I think the GroupSelection command will not move the nodes.