Skip to content

Lr To Tb Top Drop Two Lines

Two co-travelling lines drop out of an LR section's explicit BOTTOM exit into a TB section's shared TOP entry below, staying parallel through the corner and down to the trunk without crossing.

Mermaid source
examples/topologies/lr_to_tb_top_drop_two_lines.mmd
%%metro title: LR to TB Top Drop Two Lines
%%metro style: dark
%%metro line: a | A | #e63946
%%metro line: b | B | #0570b0
%%metro grid: src_sec | 0,0
%%metro grid: tgt_sec | 0,1
graph LR
subgraph src_sec [Source]
%%metro direction: LR
%%metro exit: bottom | a,b
s1[Start]
s2[End]
s1 -->|a,b| s2
end
subgraph tgt_sec [Target]
%%metro direction: TB
%%metro entry: top | a,b
%%metro exit: right | a,b
t1[Process]
t2[Result]
t1 -->|a,b| t2
end
s2 -->|a,b| t1
CLI command
Terminal window
nf-metro render examples/topologies/lr_to_tb_top_drop_two_lines.mmd -o lr_to_tb_top_drop_two_lines.svg
Rendered map
LR to TB Top Drop Two Lines 1 2 Start Process End Result A B created with nf-metro v1.1.0+dev