ConnectionOptions
Defines the configuration options for diagram connections. Extends the base connection options and adds tooltip support.
Definition
Package:@progress/kendo-react-diagram
Properties
Defines accessibility options for the connection.
Defines the label displayed on the connection path.
cornerRadius?
number
Defines the corner radius of the connection.
0
dataItem?
any
Defines the connection dataItem.
editable?
boolean | ConnectionDefaultsEditable
Defines the editing behavior of the connections.
endCap?
string | ConnectionCap
The connections end cap configuration.
The source of the connection. Can be a shape id, a shape/connector reference, or an object with XY-coordinates.
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.
id?
string | number
The unique identifier for a connection.
Defines the connection routing locks as absolute x/y axis values in global diagram coordinates. Applicable only when the connection type is set to "cascading".
Defines the intermediate routing points of the connection in global coordinates. Applicable only when the connection type is set to "polyline".
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.
The target of the connection. Can be a shape id, a shape/connector reference, or an object with XY-coordinates.
toConnector?
string
Specifies the name of the target shape connector that should be used by default.
Configures the tooltip that displays when you hover over the connection.
tooltipText?
string
Sets the text content displayed in the tooltip.
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"