Skip to content

Bt Infer Ports

A BT section whose ports are inferred rather than hand-declared: the entry lands on the flow-start BOTTOM edge and the exit on the flow-end TOP edge, so the feed climbs straight in without backtracking through the stations (#1442).

Mermaid source
examples/topologies/bt_infer_ports.mmd
%%metro title: BT Section With Inferred Ports
%%metro style: dark
%%metro line: a | A | #e63946
%%metro grid: dst_sec | 0,0
%%metro grid: work | 0,1
graph LR
subgraph dst_sec [Output]
o1[Report]
o2[Archive]
o1 -->|a| o2
end
subgraph work [Work]
%%metro direction: BT
w1[Process]
w2[Collect]
w1 -->|a| w2
end
w2 -->|a| o1
CLI command
Terminal window
nf-metro render examples/topologies/bt_infer_ports.mmd -o bt_infer_ports.svg
Rendered map
BT Section With Inferred Ports 2 1 Report Process Archive Collect A created with nf-metro v2.0.0+dev