TopologyDiagram.trail_sequences

TopologyDiagram.trail_sequences(key)[source]

Create a mapping between topological sequences and the nodes in a trail.

Parameters:

key (int) – The trail key.

Returns:

sequence_map (Dict[int]) – A dictionary wherein keys are sequences and values are node keys.