--- title: ConnectionDefaults description: "Learn how to build custom functionality when working with the React Diagram by Kendo UI with the help of the ConnectionDefaults." api_reference: true type: inner_api slug: api_diagram_connectiondefaults --- # ConnectionDefaults Defines the default configuration options for all connections in the `Diagram`. These settings apply to connections unless overridden by individual connection options.
| Name | Type | Default | Description |
|---|---|---|---|
| #### accessibility? |
AccessibilityOptions
|
Defines accessibility options for the connection. | |
| #### content? |
[ConnectionContent]({% slug api_diagram_connectioncontent %}) | [ConnectionRichTextContent]({% slug api_diagram_connectionrichtextcontent %})
|
Defines the label displayed on the connection path. | |
| #### cornerRadius? |
number
|
0
|
Defines the corner radius of the connection. |
| #### editable? |
boolean | [ConnectionDefaultsEditable]({% slug api_diagram_connectiondefaultseditable %})
|
Defines the editing behavior of the connections. | |
| #### endCap? |
string | [ConnectionCap]({% slug api_diagram_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; }; height?: number; stroke?: { color?: string; }; width?: number; }; }
|
Defines the connections selection configuration. | |
| #### startCap? |
string | [ConnectionCap]({% slug api_diagram_connectioncap %})
|
The connection start cap configuration or type name. | |
| #### stroke? |
string | [Stroke]({% slug api_diagram_stroke %})
|
Defines the connection line configuration. | |
| #### toConnector? |
string
|
Specifies the name of the target shape connector that should be used by default. | |
| #### tooltip? |
[TooltipOptions]({% slug api_diagram_tooltipoptions %})
|
Configures the default tooltip settings for all connections. | |
| #### type? |
[ConnectionType]({% slug api_diagram_connectiontype %})
|
"cascading"
|
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. |