Skip to main content

EdgeRoutingPluginOptions

Options for the edge routing plugin.

Extends

Properties

mode

mode: EdgeRoutingPluginMode

Mode to use to draw edges. 'orthogonal' is like the orthogonal connector - segments that are either vertical or horizontal. direct draws straight lines through regions. Both modes assign a separate anchor point to each edge.


orthogonalMode?

optional orthogonalMode: OrthogonalRouterMode

When mode is 'orthogonal' this instructs VisuallyJs whether to group edges in buses, or to route each edge separately.


orthogonalPadding?

optional orthogonalPadding: number

How much space to leave between stacked orthogonal edges. Defaults to 10 pixels.