TopologyDiagram.add_edge

TopologyDiagram.add_edge(edge)[source]

Adds a deviation or a trail edge.

Parameters:

edge (Edge) – An edge element.

Returns:

key (tuple) – An edge key.