Mapping, pruning, and graphing tree models