def _assign_time_positions(self):
    (self.time_position, total_depth) = node_time_depth(self.tree, {u: (1 + len(self.node_labels[u])) for u in self.tree.nodes()})
    self.width = total_depth
def _assign_time_positions(self):
    (self.time_position, total_depth) = node_time_depth(self.tree, {u: (1 + len(self.node_labels[u])) for u in self.tree.nodes()})
    self.width = total_depth