Side Branch Ascent Label Strike
A symmetric 2-way fan-out where a multi-line side branch (Salmon) ascends from off the trunk to the section's shared exit port, passing a wide trunk-sibling label (BEDTools genomecov) along the way. 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
%%metro title: Side-branch ascent label strike%%metro line: a | Alpha | #e6007e%%metro line: b | Beta | #2db572%%metro line: fwd | Forward | #6c757d%%metro line: rev | Reverse | #b08968%%metro diamond_style: symmetric%%metro file: cov_out | BW | Coverage
graph LR subgraph up [Upstream] %%metro exit: right | a, b, fwd, rev src[Dedup] end subgraph sec [Coverage & quantification] %%metro entry: left | a, b, fwd, rev %%metro exit: right | a, b split[SAMtools split strand] genomecov[BEDTools genomecov] salmon[Salmon]
split -->|fwd,rev| genomecov genomecov -->|fwd,rev| cov_out end subgraph down [Reporting] %%metro entry: left | a, b sink[MultiQC] end
src -->|fwd,rev| split src -->|a,b| salmon salmon -->|a,b| sinkCLI command
nf-metro render examples/topologies/side_branch_ascent_label_strike.mmd -o side_branch_ascent_label_strike.svg