BendNetwork.leaves

BendNetwork.leaves()

Return all leaves of the graph.

Returns:
list[hashable]

A list of node identifiers.