Skip to content

Stacked Right Ports Coincident

A RIGHT exit and its target's RIGHT entry stacked in one grid column pin to the shared column-edge X; the feed bows out into the descent channel past the port with outward corner curves, and a co-terminating feed shares that channel rather than running a separate parallel vertical.

Mermaid source
examples/topologies/stacked_right_ports_coincident.mmd
%%metro title: Stacked RIGHT Ports (coincident X)
%%metro style: nfcore
%%metro line: a | A | #e63946
%%metro line: b | B | #0570b0
%%metro grid: feeder | 0,0
%%metro grid: above | 1,0
%%metro grid: below | 1,1
graph LR
subgraph feeder [Feeder]
f1[Input]
f2[Output]
f1 -->|a| f2
end
subgraph above [Above]
a1[Proc]
a2[Out]
a1 -->|b| a2
end
subgraph below [Below]
%%metro direction: RL
%%metro entry: right | a, b
b1[Proc]
b2[Out]
b1 -->|a,b| b2
end
f2 -->|a| b1
a2 -->|b| b1
CLI command
Terminal window
nf-metro render examples/topologies/stacked_right_ports_coincident.mmd -o stacked_right_ports_coincident.svg
Rendered map
Stacked RIGHT Ports (coincident X) 1 2 3 Input Proc Proc Output Out Out A B created with nf-metro v2.0.0+dev