Skip to content

Exit Fan Label Strike

A multi-line side branch (Salmon) fed only from the section boundary sits off the trunk and exits right past a wide trunk-sibling label (BEDTools genomecov). It rides its own track and turns up late at the exit port, so its riser clears the label rather than raking through it mid-section.

Mermaid source
examples/topologies/exit_fan_label_strike.mmd
%%metro title: Exit-fan label strike
%%metro line: a | Alpha | #e6007e
%%metro line: b | Beta | #2db572
%%metro line: c | Gamma | #2b6cb0
%%metro file: cov_out | BW | Coverage
graph LR
subgraph up [Upstream]
%%metro exit: right | a, b, c
src[Dedup]
end
subgraph sec [Coverage & quantification]
%%metro entry: left | a, b, c
%%metro exit: right | a, b, c
split[SAMtools split strand]
genomecov[BEDTools genomecov]
salmon[Salmon]
split -->|a,b,c| genomecov
genomecov -->|a,b,c| cov_out
end
subgraph down [Reporting]
%%metro entry: left | a, b, c
sink[MultiQC]
end
src -->|a,b,c| split
src -->|a,b,c| salmon
salmon -->|a,b,c| sink
CLI command
Terminal window
nf-metro render examples/topologies/exit_fan_label_strike.mmd -o exit_fan_label_strike.svg
Rendered map
Exit-fan label strike 1 2 3 BW Coverage Salmon SAMtools split strand Dedup MultiQC BEDTools genomecov Alpha Beta Gamma created with nf-metro v2.0.0+dev