TopologyDiagram.connected_trail_edges

TopologyDiagram.connected_trail_edges(node)[source]

Finds the trail edges connected to a node.

Parameters:

node (int) – A node key.

Returns:

trail_edges (list) – The keys of the connected trail edges. If no trail edge is attached, the list will be empty.