Skip to content

Trunk Through Fan

A pass-through section: the trunk runs straight through a symmetric fan-and-reconverge, exit on the merge row (regression lock for detached reconvergence exits).

Mermaid source
examples/topologies/trunk_through_fan.mmd
%%metro title: Trunk Through Fan
%%metro style: dark
%%metro center_ports: true
%%metro line: a | A | #e63946
%%metro line: b | B | #0570b0
%%metro grid: source | 0,0
%%metro grid: middle | 1,0
%%metro grid: sink | 2,0
graph LR
subgraph source [Source]
s1[Input]
s2[Prepare]
s1 -->|a,b| s2
end
subgraph middle [Middle]
%%metro entry: left | a, b
%%metro exit: right | a, b
split[Split]
up[Path Up]
down[Path Down]
join[Join]
split -->|a,b| up
split -->|a,b| down
up -->|a,b| join
down -->|a,b| join
end
subgraph sink [Sink]
%%metro entry: left | a, b
report[Report]
end
s2 -->|a,b| split
join -->|a,b| report
CLI command
Terminal window
nf-metro render examples/topologies/trunk_through_fan.mmd -o trunk_through_fan.svg
Rendered map
Trunk Through Fan 1 2 3 Input Split Report Prepare Path Up Path Down Join A B created with nf-metro v1.1.0+dev