TopologyDiagram.is_trail_edge

TopologyDiagram.is_trail_edge(edge)[source]

Tests whether or not an edge is a trail edge.

Parameters:

edge (tuple) – The key of the edge to test.

Returns:

flag (bool) – True``if the edge is a trail edge. ``False otherwise.