Skip to content

Merge Port Above Approach

A line descending into a multi-feeder merge port from a section above keeps the above-trunk slot all the way to the output, so its riser joins the bundle without crossing the trunk on the outgoing run (issue #704).

Mermaid source
examples/topologies/merge_port_above_approach.mmd
%%metro title: Above Approach Merge
%%metro style: dark
%%metro line: trunk | Trunk | #2db572
%%metro line: bypass | Bypass | #e63946
%%metro grid: above_src | 0,0
%%metro grid: horiz_src | 0,1
%%metro grid: sink | 1,1
%%metro grid: out | 2,1
graph LR
subgraph above_src [Above Source]
%%metro exit: right | bypass
a1[Start A]
a2[Prep A]
a1 -->|bypass| a2
end
subgraph horiz_src [Horizontal Source]
%%metro exit: right | trunk
h1[Start B]
h2[Prep B]
h1 -->|trunk| h2
end
subgraph sink [Sink]
%%metro entry: left | trunk,bypass
%%metro exit: right | trunk,bypass
s1[Merge]
s2[Combine]
s1 -->|trunk,bypass| s2
end
subgraph out [Output]
o1[Report]
end
a2 -->|bypass| s1
h2 -->|trunk| s1
s2 -->|trunk,bypass| o1
CLI command
Terminal window
nf-metro render examples/topologies/merge_port_above_approach.mmd -o merge_port_above_approach.svg
Rendered map
Above Approach Merge 1 2 3 4 Start B Merge Start A Report Prep B Combine Prep A Trunk Bypass created with nf-metro v1.1.0+dev