pub fn print_tree(tree: &impl PrintTree, root: NodeId)
Prints a debug representation of the computed layout for a tree of nodes, starting with the passed root node.