v0.4.0
2026-02-19 · GitHub release · Diff
Nextflow DAG import
Section titled “Nextflow DAG import”nf-metro can now import Mermaid files produced by Nextflow’s --with-dag flag directly, without manual editing. The importer detects unsupported DAG constructs and reports them clearly.
nextflow run mypipeline.nf --with-dag dag.mmdnf-metro render dag.mmd -o pipeline.svgNextflow DAG files use a flat graph (no subgraphs), so the auto-layout engine places sections automatically.
Rendered map
Rendered map
Bypass routing below intervening sections
Section titled “Bypass routing below intervening sections”Lines that skip over one or more sections now route below those sections rather than diagonally through them, keeping bypasses visually separate from the section content they skip.
Rendered map
Span-based line ordering
Section titled “Span-based line ordering”%%metro line_order: span sorts lines in the legend by their total span across the graph.
Hidden station prefix
Section titled “Hidden station prefix”Stations prefixed with _ are hidden during rendering but still participate in layout. Useful for routing control points that shouldn’t appear as stations on the final map.
Other improvements
Section titled “Other improvements”- Minimum inter-section gap enforced for smooth bypass corners
- Separate bypass routes sharing the same inter-column gap
- Uniform corner radius for bypass U-shape routes
- Bypass gap1 vertical shifted toward source for section clearance
- Terminus stations nudged away from passing lines
- Vertical centering of section content
- Empty subgraphs (containing only edges) handled correctly
- A
fix-issueClaude Code skill added for maintainer workflow