Skip to content

Tb Lr Exit Left

A `%%metro direction: TB` section dropping in through its TOP entry and leaving through a LEFT exit into a section below-left (the `_route_tb_lr_exit` LEFT arm): the station drops, turns once, and runs out of the box's left side, the vertical leg fanned by the reversed station offset so the outermost line takes the widest arc (#917).

Mermaid source
examples/topologies/tb_lr_exit_left.mmd
%%metro title: TB Left Exit
%%metro style: dark
%%metro line: a | A | #e63946
%%metro line: b | B | #0570b0
%%metro grid: prep | 0,0
%%metro grid: work | 1,0
%%metro grid: report | 0,1
graph LR
subgraph prep [Prep]
p1[Start]
p2[End]
p1 -->|a,b| p2
end
subgraph work [Work]
%%metro direction: TB
%%metro entry: top | a,b
%%metro exit: left | a,b
w1[Process]
w2[Collect]
w1 -->|a,b| w2
end
subgraph report [Report]
%%metro entry: right | a,b
r1[Publish]
end
p2 -->|a,b| w1
w2 -->|a,b| r1
CLI command
Terminal window
nf-metro render examples/topologies/tb_lr_exit_left.mmd -o tb_lr_exit_left.svg
Rendered map
TB Left Exit 1 3 2 Start Process Publish End Collect A B created with nf-metro v1.1.0+dev