Skip to content

EdgeRoutingConfig

Interface representing configurable properties of the edge routing.

[edgeRoutingName: string]: undefined | EdgeRoutingName | Record<string, unknown>

Allow custom edge routing configurations.

optional bezier: object

configuration options for bezier routing

optional bezierControlOffset: number

bezier control point offset


defaultRouting: EdgeRoutingName

The default edge routing algorithm to use for edges. Can be one of the built-in routing names or a custom string for user-defined routing.

EdgeRoutingName


optional orthogonal: object

configuration options for orthogonal routing

optional firstLastSegmentLength: number

first/last segment length

optional maxCornerRadius: number

maximum corner radius