Add "Simplify phylogeny" button to simplify trees (especially Open Tree of Life induced subtree) #241
Labels
programming only
No discussion necessary; just pure programming needed
Milestone
Open Tree of Life induced subtrees (as added by #40) include a large number of internal nodes that only have a single child, which can make visualizing the phylogeny complicated. However, we can't just delete all such internal nodes when importing a phylogeny from the Open Tree of Life as they might be useful -- for example, one of these nodes might be a specifier. As far as I know, there's no setting on the Open Tree
/tree_of_life/induced_subtree
API call to control this.We could add a "Remove internal nodes with only a single child" button to the phylogeny view, which would ignore internal nodes that are used as specifiers. We could also go further and add a "Simplify phylogeny" button that removes all phylogeny nodes except specifiers and their parents. Alternatively, we could decide that this is too much complexity for Klados and leave it up to the user to use an external tool to clean up their phylogenies in any way they choose.
The text was updated successfully, but these errors were encountered: