TopologyDiagram.trail_edges
- TopologyDiagram.trail_edges(data=False)[source]
Iterates over the keys of all the trail edges in the diagram.
- Parameters:
data (
bool
) –True
if 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
.