Skip to content

Junction Entry Reversed Fold

A two-line bundle exits a TB section's RIGHT side, wraps into a Source section, then fans out at a junction into two same-row destinations. The bundle order is carried concentrically through the reversal corners so the lines never cross at a station, and the fan-out peels off cleanly (issue #760).

Mermaid source
examples/topologies/junction_entry_reversed_fold.mmd
%%metro title: Junction Entry Reversed Fold
%%metro style: dark
%%metro line: alpha | Alpha | #e63946
%%metro line: beta | Beta | #2db572
%%metro grid: tb | 0,0
%%metro grid: src | 1,0
%%metro grid: dst_a | 2,0
%%metro grid: dst_b | 3,0
graph LR
subgraph tb [Bridge]
%%metro direction: TB
%%metro exit: right | alpha,beta
tb1[Mark]
tb2[Recal]
tb1 -->|alpha,beta| tb2
end
subgraph src [Source]
%%metro entry: left | alpha,beta
%%metro exit: right | alpha,beta
s_hub[Hub]
end
subgraph dst_a [Dest Alpha]
%%metro entry: left | alpha
da1[Process A]
da2[Output A]
da1 -->|alpha| da2
end
subgraph dst_b [Dest Beta]
%%metro entry: left | beta
db1[Process B]
db2[Output B]
db1 -->|beta| db2
end
tb2 -->|alpha,beta| s_hub
s_hub -->|alpha| da1
s_hub -->|beta| db1
CLI command
Terminal window
nf-metro render examples/topologies/junction_entry_reversed_fold.mmd -o junction_entry_reversed_fold.svg
Rendered map
Junction Entry Reversed Fold 1 2 3 4 Mark Process A Process B Hub Recal Output A Output B Alpha Beta created with nf-metro v1.1.0+dev