Skip to content

Compact Hidden Passthrough

Compact mode keeps a hidden single-line pass-through station on its bundle slot so the two lines weave consistently through the section.

Mermaid source
examples/topologies/compact_hidden_passthrough.mmd
%%metro title: Hidden Pass-through Compact
%%metro style: dark
%%metro compact_offsets: true
%%metro line: a | Line A | #e63946
%%metro line: b | Line B | #0570b0
graph LR
subgraph src [Source]
s1[Input A]
s2[Input B]
end
subgraph process [Process]
_pass[hidden]
p1[Step A]
p2[Step B]
_pass -->|a| p1
p1 -->|a,b| p2
end
subgraph report [Report]
r1[Report]
end
s1 -->|a| _pass
s2 -->|b| p1
p2 -->|a,b| r1
CLI command
Terminal window
nf-metro render examples/topologies/compact_hidden_passthrough.mmd -o compact_hidden_passthrough.svg
Rendered map
Hidden Pass-through Compact 1 2 3 Input A Report Input B Step A Step B Line A Line B created with nf-metro v1.1.0+dev