Skip to content

Same Side Culdesac

A line declares its entry on a reversed (RL) section's flow-trailing edge, the edge the section flows out of, but its consumer is an interior station held off the leading end by a file terminus. Rather than fold the line back over the trunk to reach it, the entry re-anchors to the section's leading edge; the producer then reaches it by wrapping over the section top, so the line reads as a clean loop and the consumer is a straight pass-through.

Mermaid source
examples/topologies/same_side_culdesac.mmd
%%metro title: Same-Side Cul-de-Sac
%%metro style: dark
%%metro directional: true
%%metro line: flow | Flow | #0570b0
%%metro line: feed | Feed | #41ab5d
%%metro file: f | FASTQ
%%metro grid: producer | 0,0
%%metro grid: mid | 1,0
graph LR
subgraph producer [Producer]
p1[Source]
p2[Prepare]
p1 -->|flow| p2
end
subgraph mid [Cul-de-sac]
%%metro direction: RL
%%metro entry: left | flow
f[ ]
inner[Inner]
outer[Outer]
f -->|feed| inner
inner -->|flow| outer
end
p2 -->|flow| inner
CLI command
Terminal window
nf-metro render examples/topologies/same_side_culdesac.mmd -o same_side_culdesac.svg
Rendered map
Same-Side Cul-de-Sac 1 2 FASTQ Source Prepare Inner Outer Flow Feed created with nf-metro v1.1.0+dev