connector-routing
Connector routing for diagrams and schematics: many orthogonal connectors at once with bend, length and crossing costs, negotiated congestion, rip-up and reroute, and nudging
cargo add connector-routing Who it is for
- Diagram and graph editors (flowcharts, UML, node editors, architecture diagrams) that need connectors which avoid the boxes, bend rarely, cross rarely and do not lie on top of each other, and that should update incrementally when the user drags a box.
- Schematic and EDA-style tools, and generators for cable or wiring plans, where many nets share narrow channels and nets with more than two ports become Steiner trees.
- Layout engines that run their own placement: the nudging step solves its separation constraints exactly, and also exports them as data for an engine that places segments itself.
- If you need the plain shortest path on a general graph, use heuristic-search; for agents that move over time and must not meet at all, mapf-search; for Pareto fronts on graphs other than routing scenes, multiobjective-search.
Algorithms 12
- 1-bend visibility graph 1-bend visibility graph search
Opt-in A* over the lazily generated 1-bend visibility graph of obstacle-hugging routes; not exact in general.
- A* A star
Single-connector routing by A* over (vertex, heading) with an exact free-space bend estimate and weighted or lexicographic length/bend objectives.
-
Path ordering in shared channels, required crossings and crossing reduction of routed connectors.
- Incremental poly-line routing Poly-line connector routing
Shortest any-angle routes over the visibility graph of obstacle corners, kept up to date as obstacles come and go, with hidden-region pruning.
- Nudging Orthogonal nudging
Scan-line separation constraints solved exactly as difference constraints with water-filling, no LP; full nudging also moves and grows boxes.
- Orthogonal drawing pipeline Hegemann-Wolff pipeline
Port assignment, visibility or channel routing graph, routing, crossing reduction, ordering, and constrained or full nudging.
- Orthogonal hyperedge routing Hyperedge routing
Nets with more than two ports as rectilinear Steiner trees by both heuristics of the paper, with segment-shifting improvement.
-
Orthogonal visibility graph with a routing frame and port stubs, updated incrementally for added, moved and removed obstacles and ports.
- PathFinder Negotiated congestion
Global routing with PathFinder negotiated congestion over channel capacities, crossing penalties and deterministic net order.
-
Connectors over capacity are ripped up and rerouted during global routing.
-
Any-angle routes through an exact constrained Delaunay triangulation, dual-graph Dijkstra and the funnel algorithm.
- VPSC Variable Placement with Separation Constraints
Least-squares projection of desired segment positions onto the separation constraints.