ConnectionDefaultsBase
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
accessibility?
AccessibilityOptions
Defines accessibility options for the connection.
Defines the label displayed on the connection path.
cornerRadius?
number
Defines the corner radius of the connection.
0
editable?
boolean | ConnectionDefaultsEditable
Defines the editing behavior of the connections.
endCap?
string | ConnectionCap
The connections end cap configuration.
fromConnector?
string
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.
selectable?
boolean
Specifies if connections can be selected.
selection?
{ handles?: { fill?: string | { color?: string }; stroke?: { color?: string }; width?: number; height?: number } }
Defines the connections selection configuration.
startCap?
string | ConnectionCap
The connection start cap configuration or type name.
toConnector?
string
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.
"cascading"