Visualization of the tree and output