FormDiagram.leaves

FormDiagram.leaves()[source]

Return all leaves of the network.

Returns:

list[hashable] – A list of node identifiers.