Skip to content

Rail Offtrack Plain Io

A `%%metro line_spread: rails` section with plain (non-file) off-track input and output. Each plain off-track node renders a station marker at its line end rather than a bare stub, and the input's label sits above the node clear of its drop and the adjacent station's label.

Mermaid source
examples/topologies/rail_offtrack_plain_io.mmd
%%metro title: Rail off-track plain input and output
%%metro style: dark
%%metro line_spread: rails
%%metro line: a | A | #2db572
%%metro line: b | B | #f4a300
%%metro file: cram_in | CRAM
graph LR
subgraph sec [Calling]
cram_in[ ]
align[Align]
call[Call]
report[Report]
aux[Targets BED]
qc[QC report]
cram_in -->|a,b| align
align -->|a,b| call
call -->|a,b| report
aux -->|a| call
call -->|a| qc
end
%%metro off_track: aux
%%metro off_track: qc
CLI command
Terminal window
nf-metro render examples/topologies/rail_offtrack_plain_io.mmd -o rail_offtrack_plain_io.svg
Rendered map
Rail off-track plain input and output 1 CRAM Align Call Targets BED Report QC report A B created with nf-metro v1.1.0+dev