Skip to content

Uneven Diamond

Node-level fork-join whose branches differ in length; each branch holds its own track instead of collapsing the shorter ones together.

Mermaid source
examples/topologies/uneven_diamond.mmd
%%metro title: Uneven fork-join diamond
%%metro line: a | A | #f0a000 | solid
%%metro line: b | B | #3a86ff | solid
%%metro line: c | C | #2bb673 | solid
graph LR
hub[Hub] -->|a| la[Leaf A]
hub -->|b| lb[Leaf B]
lb -->|b| lb2[Leaf B2]
hub -->|c| lc[Leaf C]
la -->|a| sink[Sink]
lb2 -->|b| sink
lc -->|c| sink
CLI command
Terminal window
nf-metro render examples/topologies/uneven_diamond.mmd -o uneven_diamond.svg
Rendered map
Uneven fork-join diamond Hub Leaf A Leaf B Leaf C Leaf B2 Sink A B C created with nf-metro v1.1.0+dev