FormDiagram.leaves

FormDiagram.leaves()[source]

Return all leaves of the network.

Returns

list – A list of node identifiers.