add tree_layout and write_tree_to_svg