Skip to content

Merge Feeders Three Columns

Three sections each send the same line on to a shared sink, so one feeder carries the trunk the whole way and the other two converge onto it from their own columns; each lands on the trunk's centreline, at or before the corner it turns down on, rather than a lane beside it (issue

Mermaid source
examples/topologies/merge_feeders_three_columns.mmd
%%metro title: Report feeders from three columns
%%metro style: dark
%%metro line: main | Main | #24b064
%%metro line: report | Report | #0dcaf0
%%metro line: sheets | Sheets | #f59e0b
%%metro grid: a | 0,0
%%metro grid: b | 1,0
%%metro grid: c | 2,0
%%metro grid: d | 3,0
%%metro grid: e | 3,1
graph LR
subgraph a [A]
a1[Step A1]
a2[Step A2]
a1 -->|main,report| a2
end
subgraph b [B]
b1[Step B1]
b2[Step B2]
b3[Step B3]
b4[Step B4]
b1 -->|main| b2
b2 -->|main| b3
b3 -->|main| b4
end
subgraph c [C]
c1[Step C1]
c2[Step C2]
c3[Step C3]
c1 -->|main| c2
c2 -->|main| c3
c1 -->|report| c2
c2 -->|sheets| c3
end
subgraph d [D]
d1[Step D1]
d2[Step D2]
d1 -->|sheets| d2
end
subgraph e [E]
e1[Step E1]
e2[Step E2]
e1 -->|main| e2
e1 -->|report| e2
end
a2 -->|main| b1
b4 -->|main| c1
c3 -->|main| e1
c3 -->|sheets| d1
a2 -->|report| e1
b4 -->|report| e1
c3 -->|report| e1
CLI command
Terminal window
nf-metro render examples/topologies/merge_feeders_three_columns.mmd -o merge_feeders_three_columns.svg
Rendered map
Report feeders from three columns 1 2 3 4 5 Step A1 Step B1 Step C1 Step E1 Step D1 Step A2 Step B2 Step C2 Step E2 Step D2 Step B3 Step C3 Step B4 Main Report Sheets created with nf-metro v2.0.0+dev