TopologyDiagram.trail_edges

TopologyDiagram.trail_edges(data=False)[source]

Iterates over the keys of all trail edges.

Parameters

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

Yields
  • trail_edge (tuple) – The key of the next trail edge.

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