New to KendoReact? Start a free 30-day trial

Defines the base defaults of the connections. Whenever a connection is created, the specified connectionDefaults will be used and merged with the (optional) configuration passed through the connection creation method.

Definition

Package:@progress/kendo-react-diagram

Properties

Defines accessibility options for the connection.

Defines the label displayed on the connection path.

Defines the corner radius of the connection.

Default:

0

Defines the editing behavior of the connections.

The connections end cap configuration.

Specifies the name of the source shape connector that should be used by default.

hover?

{ stroke?: { color?: string } }

Defines the default styling that is applied when the user hovers over a connection.

Specifies if connections can be selected.

selection?

{ handles?: { fill?: string | { color?: string }; stroke?: { color?: string }; width?: number; height?: number } }

Defines the connections selection configuration.

shapeGap?

number

Specifies the distance in pixels between connection endpoints, including arrow caps, and connected shape boundaries. Connections shorter than the combined gaps at their attached endpoints are not displayed.

Default:

0

The connection start cap configuration or type name.

stroke?

string | Stroke

Defines the connection line configuration.

Specifies the name of the target shape connector that should be used by default.

Specifies the connections type. The supported values are:

  • "polyline": connects the defined intermediate points.
  • "cascading": discards given points and defines a cascading path between the endpoints.
Default:

"cascading"