pub fn with_node_mut<N: Node + 'static, R>( id: NodeId, f: impl FnOnce(&mut N) -> R, ) -> Result<R, NodeError>