TopologyDiagram.shift_trail
- TopologyDiagram.shift_trail(key, sequence)[source]
Shift all the nodes in a trail to start at a given sequence.
- Parameters:
key (
int
) – The key of the origin node of the trail.sequence (
int
) – The new starting sequence of the trail.For example, if the current sequence of the origin node is 1 and k=3, then, the starting sequence of this trail becomes 3.