@shumoku/core · 0.4.0 · function
applyOctilinearRoutes
Mutates eligible edges: sets `route` to an octilinear polyline (and mirrors the corner points into `points` for labels / hit testing). Returns the number of edges routed.
applyOctilinearRoutes(edges: Map<string, ResolvedEdge>, options?: OctilinearOptions): number Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
edges | Map<string, ResolvedEdge> | No additional description. | — |
options | OctilinearOptions | No additional description. | {} |
Returns
number