Skip to content

Lr To Tb Top Cross Col

A junction source feeds both a same-row RIGHT-entry consumer and a TB section's TOP entry two rows below. The downward branch drops onto the target trunk without crossing the section boundary off-port.

Mermaid source
examples/topologies/lr_to_tb_top_cross_col.mmd
%%metro title: Top Entry Horizontal Source
%%metro style: dark
%%metro line: a | A | #e63946
%%metro grid: src_sec | 0,0
%%metro grid: mid_sec | 1,0
%%metro grid: tgt_sec | 0,2
graph LR
subgraph src_sec [Source]
%%metro direction: LR
%%metro exit: right | a
s1[Start]
s2[End]
s1 -->|a| s2
end
subgraph mid_sec [Middle]
%%metro direction: LR
%%metro entry: left | a
%%metro exit: right | a
m1[Middle]
m2[Middle Out]
m1 -->|a| m2
end
subgraph tgt_sec [Target]
%%metro direction: TB
%%metro entry: top | a
%%metro exit: right | a
t1[Process]
t2[Result]
t1 -->|a| t2
end
s2 -->|a| m1
s2 -->|a| t1
CLI command
Terminal window
nf-metro render examples/topologies/lr_to_tb_top_cross_col.mmd -o lr_to_tb_top_cross_col.svg
Rendered map
Top Entry Horizontal Source 1 3 2 Start Middle Process End Middle Out Result A created with nf-metro v1.1.0+dev