pub fn move_node( tree: &mut NodeTree, id: &NodeId, new_parent: Option<NodeId>, ) -> Result<()>
Reparent id under new_parent. Cycle and root errors surface as-is.
id
new_parent