Skip to content

Tb Bottom Exit Fork Diamond

A TB section's BOTTOM exit forks to two stacked TB sections in different rows, the lower also fed by the upper (a diamond). The fork junction's leg into the nearer TOP entry drops straight in its column rather than jogging sideways and reversing at the boundary, and the leg continuing to the far section rides the intervening section's own trunk for the shared line as one stroke (issue #1058).

Mermaid source
examples/topologies/tb_bottom_exit_fork_diamond.mmd
%%metro line: alpha | Alpha | #e63946
%%metro grid: source | 0,0
%%metro grid: feed | 1,0
%%metro grid: mid | 1,1
%%metro grid: sink | 1,2
graph LR
subgraph source [Source]
s1[Start]
end
subgraph feed [Feed]
%%metro direction: TB
%%metro entry: right | alpha
%%metro exit: bottom | alpha
f1[Align]
f2[Sort]
f1 -->|alpha| f2
end
subgraph mid [Mid]
%%metro direction: TB
%%metro entry: top | alpha
m1[Filter]
m2[Classify]
m1 -->|alpha| m2
end
subgraph sink [Sink]
%%metro direction: TB
%%metro entry: top | alpha
sk1[Merge]
sk2[Report]
sk1 -->|alpha| sk2
end
s1 -->|alpha| f1
f2 -->|alpha| m1
f2 -->|alpha| sk1
m2 -->|alpha| sk1
CLI command
Terminal window
nf-metro render examples/topologies/tb_bottom_exit_fork_diamond.mmd -o tb_bottom_exit_fork_diamond.svg
Rendered map
1 2 3 4 Align Filter Merge Start Sort Classify Report Alpha created with nf-metro v1.1.0+dev