phlower.tl.find_branch_end

phlower.tl.find_branch_end(tree: DiGraph | None = None, current_node: str | None = None)

find the leaf from current

Parameters

tree: networkx.DiGraph

fate tree

current_node: str

the node to find the leaf