TopologyDiagram.trail

TopologyDiagram.trail(key)[source]

Gets the keys of the nodes in a trail.

The nodes are sorted such that the first node is an origin node and the last, a support node.

Parameters:

key (int) – The trail key, which is equivalent to the key of its origin node.

Returns:

trail (List[int]) – The sorted node keys.