Orthogonal drawing pipeline
Also known as Hegemann-Wolff pipeline
routing connector-routing
The orthogonal drawing pipeline of Hegemann and Wolff makes a complete orthogonal drawing from boxes and the edges between them. It assigns ports on the box sides, routes every edge short and with few bends, reduces crossings, and then nudges shared segments apart. Routes run on the orthogonal visibility graph, or on the sparser channel graph of the centre lines between boxes. Boxes stay in place by default; with full nudging they can move and grow to keep the separation. Use draw when you have a fixed box layout and want the whole drawing in one call.
Pseudocode
algorithm Draw(B, E)input: boxes B, edges E between boxesoutput: an orthogonal drawing: one route per edge, and the boxesP ← assign-ports(B, E) ▷ sides from the line between box centres; L near a cornerR ← nilif graph-kind = channels thenG ← channel-graph(B, P, frame) ▷ centre lines of the narrowest empty channelsR ← route-all(G, P) ▷ nil if a port is off the graph or routing failsif R = nil thenG ← orthogonal-visibility-graph(B, P)R ← route-all(G, P)reduce-crossings(G, R)overuse ← overuse(G, R) ▷ measured again: crossing reduction ignores capacityN ← nudge(G, B, R) ▷ boxes and ports stay fixedif full-nudging thenF ← full(G, B, R) ▷ boxes move and grow; nil if the separation is infeasibleif F ≠ nil thenreturn Freturn NIn the crates
connector-routingPort assignment, visibility or channel routing graph, routing, crossing reduction, ordering, and constrained or full nudging.
Lineage
Comes from
combines Orthogonal visibility graph
combines PathFinder
combines Crossing reduction
combines Nudging
Led to
Nothing on this site.
Papers
- A Simple Pipeline for Orthogonal Graph Drawing Tim Hegemann, Alexander Wolff · 2023· Graph Drawing and Network Visualization (GD 2023), LNCS