Geometry-Aware Planar Embedding of Treelike Structures