phylo2vec.to_edges# phylo2vec.to_edges(v: ndarray) → List[Tuple[int, int]][source]# Convert a Phylo2Vec vector to an edge list Each edge is represented as a list of two nodes (child, parent) Parameters: v (numpy.ndarray) – Phylo2Vec vector Returns: edges – List of (child, parent) edges Return type: List[Tuple[int, int]]