-
Notifications
You must be signed in to change notification settings - Fork 47
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
Moving nodes #9
Comments
The idea is to unlink the child from its parent, then link another parent to it. E.g., given the tree:
To move 31 under 27, first remove the link between 28 and 31 (the direction is always from parent to child):
If 31 has no other parent, this will make it a root. This can be confirmed with Now we can link 27 to it:
I suppose a |
Thank you! The UX is somewhat cumbersome, so being able to just make EDIT: After trying your instructions, I managed to loose nodes -- probably messing up |
@ironhouzi I cannot understand how you manage to lose nodes. |
I'm not sure I clearly see how to move a node/subgraph. I was expecting a
grit move <node-id> [-p ]<parent-node-id>
or if the node is to be a root node:grit move -r <node-id>
.The text was updated successfully, but these errors were encountered: