partition_leaves function

A list with labels for each subtree (edge)