Skip to content

Top Entry Header Clash

A TB section's title is long enough to reach under the trunk that drops into its TOP entry. Rather than route the line around the title, the header relocates below the box so the drop enters cleanly.

Mermaid source
examples/topologies/top_entry_header_clash.mmd
%%metro title: Top Entry Header Clash
%%metro style: dark
%%metro line: a | A | #e63946
%%metro grid: src_sec | 0,0
%%metro grid: tgt_sec | 0,1
graph LR
subgraph src_sec [Read QC]
%%metro direction: LR
s1[Trim]
s2[Filter]
s1 -->|a| s2
end
subgraph tgt_sec [Alignment and Sorting]
%%metro direction: TB
%%metro entry: top | a
%%metro exit: right | a
t1[Map Reads]
t2[Sort BAM]
t1 -->|a| t2
end
s2 -->|a| t1
CLI command
Terminal window
nf-metro render examples/topologies/top_entry_header_clash.mmd -o top_entry_header_clash.svg
Rendered map
Top Entry Header Clash 1 2 Trim Map Reads Filter Sort BAM A created with nf-metro v1.1.0+dev