Skip to content

Divergent Fanout Split

One line fans out from a single source to a near and a far target in the row below. The two descents stay fused as one trunk until the near branch turns off, so the farther branch never peels onto the inside of the nearer one and crosses it (issue #702).

Mermaid source
examples/topologies/divergent_fanout_split.mmd
%%metro title: Divergent Fanout Split
%%metro style: dark
%%metro line: main | Main | #0570b0
%%metro grid: src | 0,0
%%metro grid: nearrow | 1,1
%%metro grid: farrow | 2,1
graph LR
subgraph src [Source]
%%metro exit: right | main
s1[Input]
s2[Process]
s1 -->|main| s2
end
subgraph nearrow [Near Target]
%%metro entry: left | main
n1[NearStep]
end
subgraph farrow [Far Target]
%%metro entry: left | main
f1[Collect]
f2[Report]
f1 -->|main| f2
end
s2 -->|main| n1
s2 -->|main| f1
CLI command
Terminal window
nf-metro render examples/topologies/divergent_fanout_split.mmd -o divergent_fanout_split.svg
Rendered map
Divergent Fanout Split 1 2 3 Input Collect NearStep Process Report Main created with nf-metro v1.1.0+dev