TopologyDiagram.direct_deviation_edges

TopologyDiagram.direct_deviation_edges(data=False)[source]

Iterates over the keys of all the direct deviation edges in the diagram.

Parameters:

data (bool) – True if the edges attributes should be yielded simultaneously. Defaults to False.

Yields:
  • deviation_edge (tuple) – The key of the next direct deviation edge.

  • attributes (dict) – The attributes of the next direct deviation edge if data=True.