Skip to content

Tb Two Line Vert Seam

A vertical-flow section's RIGHT exit feeds another vertical-flow section's LEFT entry with a two-line bundle. The entry sits a station gap above the trunk head so both lines enter horizontally then drop straight onto their trunk lanes, rather than the staggered line slanting into the trunk for want of drop room (#1054).

Mermaid source
examples/topologies/tb_two_line_vert_seam.mmd
%%metro title: TB into TB, horizontal seam
%%metro line: a | A | #e63946
%%metro line: b | B | #0570b0
%%metro grid: up_sec | 0,0
%%metro grid: down_sec | 1,0
graph LR
subgraph up_sec [Left]
%%metro direction: TB
%%metro exit: right | a,b
u1[Collect]
u2[Reduce]
u1 -->|a,b| u2
end
subgraph down_sec [Right]
%%metro direction: TB
%%metro entry: left | a,b
d1[Split]
d2[Emit]
d1 -->|a,b| d2
end
u2 -->|a,b| d1
CLI command
Terminal window
nf-metro render examples/topologies/tb_two_line_vert_seam.mmd -o tb_two_line_vert_seam.svg
Rendered map
TB into TB, horizontal seam 1 2 Collect Split Reduce Emit A B created with nf-metro v1.1.0+dev