Skip to content

@eightkk/vue-weave / core / GraphObstacleAvoidance

Interface: GraphObstacleAvoidance ​

Defined in: src/core/graphObstacleRouting.ts:17

Settings of obstacle-avoiding orthogonal routing (findOrthogonalRoute, routeGraphEdges, NetworkGraph avoidNodes).

Properties ​

bendPenalty? ​

optional bendPenalty?: number

Defined in: src/core/graphObstacleRouting.ts:21

Extra cost of each bend, in chart units of length. Finite and nonnegative. Default 24.


clearance? ​

optional clearance?: number

Defined in: src/core/graphObstacleRouting.ts:19

Distance in chart units that routes keep from every box. Finite and nonnegative. Default 8.

Released under the MIT License.