Skip to content

Crowded Header Nudge Overtop

A TB section fed by a TOP entry from an offset source: the feed's horizontal lead-in runs over the section's header band, and a route crossing to the right of the header's box-width extent must be stepped past. The nudge shifts the header far enough right to clear every route in its band, so a crowded header degrades to a clear position instead of aborting the render.

Mermaid source
examples/topologies/crowded_header_nudge_overtop.mmd
%%metro title: Crowded nudge over-top
%%metro style: dark
%%metro line: a | A | #e6007e
%%metro grid: feed | 1,0
%%metro grid: mid | 0,1
%%metro grid: tail | 1,1
graph LR
subgraph feed [Feed]
%%metro direction: TB
%%metro exit: bottom | a
e1[E1]
end
subgraph mid [Alignment Sorting Markdup Long Stage]
%%metro direction: TB
%%metro entry: top | a
%%metro exit: bottom | a
m1[M1]
m2[M2]
m1 -->|a| m2
end
subgraph tail [Tail]
%%metro entry: left | a
t1[T1]
end
e1 -->|a| m1
m2 -->|a| t1
CLI command
Terminal window
nf-metro render examples/topologies/crowded_header_nudge_overtop.mmd -o crowded_header_nudge_overtop.svg
Rendered map
Crowded nudge over-top 1 2 3 M1 E1 T1 M2 A created with nf-metro v2.0.0+dev