Skip to content

Symmetric Diamond Beside Wide Fan

A `diamond_style: symmetric` 2-way fork-join sharing a section with a wider 3-way fan. The 2-way diamond straddles its trunk evenly, but at full pitch -- as tall as the 3-way fan, with an empty trunk row between its branches -- because the half-pitch compaction is a per-section decision the mixed-fan section cannot qualify for (#1076).

Mermaid source
examples/topologies/symmetric_diamond_beside_wide_fan.mmd
%%metro title: Symmetric diamond beside a wider fan
%%metro diamond_style: symmetric
%%metro line: l1 | Route 1 | #0570b0
%%metro line: l2 | Route 2 | #2db572
%%metro line: l3 | Route 3 | #f5c542
%%metro line: l4 | Route 4 | #ff8c00
%%metro line: l5 | Route 5 | #e63946
%%metro line: l6 | Route 6 | #7b2d3b
graph LR
subgraph prep [Pre-processing]
extract[Extract]
toolA[Tool A]
toolB[Tool B]
qc[QC]
splitA[Split A]
splitB[Split B]
splitC[Split C]
qc2[QC]
extract -->|l1,l2,l3,l4,l5,l6| toolA
extract -->|l1,l2,l3,l4,l5,l6| toolB
toolA -->|l1,l2,l3,l4,l5,l6| qc
toolB -->|l1,l2,l3,l4,l5,l6| qc
qc -->|l1,l2,l3,l4,l5,l6| splitA
qc -->|l1,l2,l3,l4,l5,l6| splitB
qc -->|l1,l2,l3,l4,l5,l6| splitC
splitA -->|l1,l2,l3,l4,l5,l6| qc2
splitB -->|l1,l2,l3,l4,l5,l6| qc2
splitC -->|l1,l2,l3,l4,l5,l6| qc2
end
CLI command
Terminal window
nf-metro render examples/topologies/symmetric_diamond_beside_wide_fan.mmd -o symmetric_diamond_beside_wide_fan.svg
Rendered map
Symmetric diamond beside a wider fan 1 Extract Tool A Tool B QC Split A Split B Split C QC Route 1 Route 2 Route 3 Route 4 Route 5 Route 6 created with nf-metro v1.1.0+dev