Network.leaves

Network.leaves()[source]

Return all leaves of the network.

Returns:
list[hashable]

A list of node identifiers.