Skip to main content

Interface: RouteContext

What the router needs to route the refs of a diagram.

Properties​

avoid?​

avoid?: "tables" | "none";

'tables': orthogonal routes go around table, note and collapsed-group boxes (docs/design/phase3-v1.md §4.1). 'none': phase-2 routes (straight under unrelated tables). Default 'tables' (phase 3 wave 2). Above ROUTER_MAX_NODES display nodes 'tables' falls back to 'none'.


detailLevel​

detailLevel: DetailLevel;

edgeStyle​

edgeStyle: EdgeStyle;

geometry​

geometry: DiagramGeometry;

model​

model: DiagramModel;

usePoints?​

usePoints?: boolean;

Use geometry.edges[*].points when present (ELK routes). Default true.