TopologyDiagram.sequences
- TopologyDiagram.sequences(keys=False)[source]
Iterate over all the sequences in the topology diagram in ascending order.
- Parameters:
keys (
bool
, optional) – Defaults toFalse
.- Yields:
sequence (
Tuple[int]
orTuple[int, Tuple[int]]
) – The next sequence ifkeys
isFalse
. Otherwise, a tuple with the sequence key and the corresponding node keys.