Skip to content

Directional Flow

Opt-in static flow chevrons via `%%metro directional: true` (CLI: `--directional`): periodic open chevrons ride each route pointing source to target. A three-line bundled trunk fans out to per-line analyses and converges again, so the chevrons make bundle, fan-out, and merge direction legible without the animated `--animate` balls. Marker size, spacing, opacity, and colour are `Theme` knobs.

Mermaid source
examples/directional_flow.mmd
%%metro title: Directional Flow
%%metro style: dark
%%metro directional: true
%%metro line: dna | DNA variants | #E64A19
%%metro line: rna | RNA expression | #1E88E5
%%metro line: meth | Methylation | #43A047
graph LR
reads[Reads]
qc[QC]
trim[Trim]
align[Align]
callvar[Call variants]
quant[Quantify]
methcall[Call methylation]
report[Report]
reads -->|dna| qc
reads -->|rna| qc
reads -->|meth| qc
qc -->|dna| trim
qc -->|rna| trim
qc -->|meth| trim
trim -->|dna| align
trim -->|rna| align
trim -->|meth| align
align -->|dna| callvar
align -->|rna| quant
align -->|meth| methcall
callvar -->|dna| report
quant -->|rna| report
methcall -->|meth| report
CLI command
Terminal window
nf-metro render examples/directional_flow.mmd -o directional_flow.svg
Rendered map
Directional Flow Reads QC Trim Align Call variants Quantify Call methylation Report DNA variants RNA expression Methylation created with nf-metro v1.1.0+dev