TopologyDiagram.trail_edges
- TopologyDiagram.trail_edges(data=False)[source]
Iterates over the keys of all trail edges.
- Parameters
data (
bool) –Trueif the edges attributes should be yielded simultaneously. Defaults toFalse.- Yields
trail_edge (
tuple) – The key of the next trail edge.attributes (
dict) – The attributes of the next trail edge ifdata=True.