pub fn path_iter(path: &str) -> impl Iterator<Item = &str>
Split a string in the form of /NodeA/NodeB/… into an iterator of path segment.
/NodeA/NodeB/…
Use that function to pass to various tree and node API functions expecting a path.