Skip to content

Entry Hint Shared Edge

An `entry:` hint pins one line of a two-line inter-section edge to a non-natural side; the other line, riding the identical connector, is forced onto that same side instead of independently computing its own natural side and conflicting with the hint (issue #1629).

Mermaid source
examples/topologies/entry_hint_shared_edge.mmd
%%metro title: Example Pipeline
%%metro line: qc | QC | #2dd4bf
%%metro line: main | Main | #c792ea
graph LR
subgraph input [Input]
reads[Reads]
end
subgraph proc [Processing]
%%metro entry: bottom | qc
fastqc[FastQC]
trim[Trim]
align[Align]
fastqc -->|qc,main| trim
trim -->|main| align
end
subgraph results [Results]
bam[BAM]
end
reads -->|qc,main| fastqc
align -->|main| bam
CLI command
Terminal window
nf-metro render examples/topologies/entry_hint_shared_edge.mmd -o entry_hint_shared_edge.svg
Rendered map
Example Pipeline 1 2 3 FastQC Reads BAM Trim Align QC Main created with nf-metro v2.0.0+dev