Skip to content

Exit Lane Swap Shared Exit Port

A locally-born line leaves through the same exit port as an arriving wrap line, so the lane the swap holder claims is the one the wrap line is already leaving by. Settling the exit frame has to exchange the two lanes in place rather than reorder the bundle around them.

Mermaid source
examples/topologies/exit_lane_swap_shared_exit_port.mmd
%%metro title: Exit Lane Swap Through A Shared Exit Port
%%metro line: lower | Lower branch | #3779b1
%%metro line: straight | Straight branch | #156075
%%metro line: ends | Swap holder | #dde6c4
%%metro line: wrap | Wrap branch | #6ef362
%%metro line: drop | Aligned drop | #e76f51
%%metro grid: drop_target | 0,0
%%metro grid: feeder | 0,1
%%metro grid: source | 1,1
%%metro grid: straight_target | 2,1
%%metro grid: lower_target | 0,2
graph LR
subgraph drop_target [Aligned target]
%%metro entry: bottom | drop
drop_in[Drop]
end
subgraph feeder [Feeder]
feed[Feed]
end
subgraph source [Settlement source]
before[Before]
split[Split]
before -->|lower,straight,ends,wrap| split
end
subgraph straight_target [Straight]
straight_in[Straight]
end
subgraph lower_target [Lower target]
%%metro entry: right | wrap
lower_in[Lower]
end
feed -->|lower,straight,wrap| before
feed -->|drop| drop_in
split -->|lower,straight,ends| straight_in
split -->|wrap| lower_in
CLI command
Terminal window
nf-metro render examples/topologies/exit_lane_swap_shared_exit_port.mmd -o exit_lane_swap_shared_exit_port.svg
Rendered map
Exit Lane Swap Through A Shared Exit Port 5 1 2 3 4 Before Drop Feed Straight Lower Split Lower branch Straight branch Swap holder Wrap branch Aligned drop created with nf-metro v2.0.0+dev