TopologyDiagram.deviation_edges

TopologyDiagram.deviation_edges(data=False)[source]

Iterates over the keys of all the 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 deviation edge.

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