Legend Combo
Demonstrates `%%metro legend_combo:`: a normal (blue) and tumor (red) line travel together as a tumor-normal pair. The combo renders one legend row with a striped red+blue swatch. Normal travels only within the bundle so its individual row is suppressed, while tumor breaks away alone to Annotate and keeps its own row; the QC line is unaffected.
Mermaid source
%%metro title: Tumor-Normal Calling%%metro style: dark%%metro line: normal | Normal | #2196F3%%metro line: tumor | Tumor | #E53935%%metro line: qc | Quality Control | #4CAF50 | dashed%%metro legend_combo: normal, tumor | Tumor-normal pair
graph LR fastq[FASTQ] align[Alignment] markdup[MarkDuplicates] bqsr[BQSR] fastqc[FastQC] call[Somatic Calling] annotate[Annotate] multiqc[MultiQC]
fastq -->|normal,tumor| align align -->|normal,tumor| markdup markdup -->|normal,tumor| bqsr bqsr -->|normal,tumor| call call -->|tumor| annotate
fastq -->|qc| fastqc fastqc -->|qc| multiqcCLI command
nf-metro render examples/legend_combo.mmd -o legend_combo.svg