pub fn tree_data(graph: &Graph, root: &str) -> HashMap<String, Vec<String>>
Tree adjacency representation from a root.