Skip to content

Merge Right Entry

One line converges on a RIGHT entry whose consumer is the sink's flow-start station: the sink flows right-to-left so the merge arrives beside its consumer, and the trunk loops under the sink onto that channel rather than slicing across the box to the far station (#885).

Mermaid source
examples/topologies/merge_right_entry.mmd
%%metro title: Merge Right Entry Cross Row
%%metro style: dark
%%metro line: main | Main | #0570b0
%%metro grid: sink | 0,0
%%metro grid: source | 2,1
%%metro grid: extra | 4,1
%%metro grid: step_a | 6,1
graph LR
subgraph sink [Sink]
%%metro entry: right | main
t1[Collect]
t2[Report]
t1 -->|main| t2
end
subgraph source [Source]
s1[Produce]
s2[Prepare]
s1 -->|main| s2
end
subgraph extra [Extra]
e1[Extra]
e2[Extra Out]
e1 -->|main| e2
end
subgraph step_a [Step A]
a1[Process A]
a2[Out A]
a1 -->|main| a2
end
s2 -->|main| e1
s2 -->|main| t1
e2 -->|main| a1
e2 -->|main| t1
a2 -->|main| t1
CLI command
Terminal window
nf-metro render examples/topologies/merge_right_entry.mmd -o merge_right_entry.svg
Rendered map
Merge Right Entry Cross Row 4 1 2 3 Collect Produce Extra Process A Report Prepare Extra Out Out A Main created with nf-metro v1.1.0+dev