Skip to content

Fork Join Interior Label

A three-way fork-join whose wide middle-branch label sits inside the loop. The loop widens symmetrically so the interior label clears the diverging and reconverging bundles on both sides, keeping the branch centred.

Mermaid source
examples/topologies/fork_join_interior_label.mmd
%%metro title: Fork-join interior label
%%metro diamond_style: symmetric
%%metro line: star_rsem | STAR / RSEM | #0570b0
%%metro line: star_salmon | STAR / Salmon | #2db572
%%metro line: hisat2 | HISAT2 | #f5c542
%%metro line: bowtie2_salmon | Bowtie2 / Salmon | #ff8c00
%%metro line: pseudo_salmon | Salmon | #e63946
%%metro line: pseudo_kallisto | Kallisto | #7b2d3b
graph LR
subgraph rrna [rRNA removal]
bbsplit[BBSplit]
sortmerna[SortMeRNA]
ribodetector[RiboDetector]
bowtie2_rrna[Bowtie2]
fastqc[FastQC]
bbsplit -->|star_rsem,star_salmon,hisat2,bowtie2_salmon,pseudo_salmon,pseudo_kallisto| sortmerna
bbsplit -->|star_rsem,star_salmon,hisat2,bowtie2_salmon,pseudo_salmon,pseudo_kallisto| ribodetector
bbsplit -->|star_rsem,star_salmon,hisat2,bowtie2_salmon,pseudo_salmon,pseudo_kallisto| bowtie2_rrna
sortmerna -->|star_rsem,star_salmon,hisat2,bowtie2_salmon,pseudo_salmon,pseudo_kallisto| fastqc
ribodetector -->|star_rsem,star_salmon,hisat2,bowtie2_salmon,pseudo_salmon,pseudo_kallisto| fastqc
bowtie2_rrna -->|star_rsem,star_salmon,hisat2,bowtie2_salmon,pseudo_salmon,pseudo_kallisto| fastqc
end
CLI command
Terminal window
nf-metro render examples/topologies/fork_join_interior_label.mmd -o fork_join_interior_label.svg
Rendered map
Fork-join interior label 1 BBSplit SortMeRNA RiboDetector Bowtie2 FastQC STAR / RSEM STAR / Salmon HISAT2 Bowtie2 / Salmon Salmon Kallisto created with nf-metro v1.1.0+dev