Skip to content

Tb Trunk Through Fan

An asymmetric fan-out inside a `%%metro direction: TB` section: one line continues straight down the trunk column to its child while a sibling peels off to another column. The continuation is slotted onto the trunk so it drops straight instead of jogging one offset step (#929).

Mermaid source
examples/topologies/tb_trunk_through_fan.mmd
%%metro title: TB Trunk Through Fan
%%metro style: dark
%%metro line: a | A | #e63946
%%metro line: b | B | #0570b0
%%metro grid: work | 0,0
graph LR
subgraph work [Work]
%%metro direction: TB
hub[Split]
main[Main]
sink[Collect]
branch[Branch]
hub -->|a| main
main -->|a| sink
hub -->|b| branch
end
CLI command
Terminal window
nf-metro render examples/topologies/tb_trunk_through_fan.mmd -o tb_trunk_through_fan.svg
Rendered map
TB Trunk Through Fan 1 Split Main Branch Collect A B created with nf-metro v1.1.0+dev