TopologyDiagram.trails_sequences

TopologyDiagram.trails_sequences()[source]

Creates a mapping of mappings between the nodes of the trails and the sequences.

The mapping has the form {trail_key: {sequence: node}}.

Returns:

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