Skip to content

Disconnected Components Fold

A folded disconnected-component layout (`%%metro fold_threshold: 3`). The main trunk folds into a serpentine while a wide standalone section stacks below it. Regression fixture for full clearance between the wide section and the folded trunk's bottom row.

Mermaid source
examples/topologies/disconnected_components_fold.mmd
%%metro title: Disconnected Components (folded)
%%metro style: dark
%%metro fold_threshold: 3
%%metro line: main | Main Pipeline | #e63946
%%metro line: aux | Auxiliary Report | #0570b0
graph LR
subgraph ingest [Ingest]
in1[Read Input]
in2[Validate]
in1 -->|main| in2
end
subgraph process [Process]
pr1[Align]
pr2[Filter]
pr1 -->|main| pr2
end
subgraph results [Results]
re1[Summarise]
re2[Publish]
re1 -->|main| re2
end
subgraph wide_report [Standalone QC Report]
w1[Collect]
w2[Aggregate]
w3[Annotate]
w4[Normalise]
w5[Visualise]
w6[Export]
w1 -->|aux| w2
w2 -->|aux| w3
w3 -->|aux| w4
w4 -->|aux| w5
w5 -->|aux| w6
end
in2 -->|main| pr1
pr2 -->|main| re1
CLI command
Terminal window
nf-metro render examples/topologies/disconnected_components_fold.mmd -o disconnected_components_fold.svg
Rendered map
Disconnected Components (folded) 1 2 3 4 Read Input Align Summarise Collect Validate Filter Publish Aggregate Annotate Normalise Visualise Export Main Pipeline Auxiliary Report created with nf-metro v1.1.0+dev