ConnectionDefaults
Defines the 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.
Name | Type | Default | Description |
---|---|---|---|
content? |
|
Defines the label displayed on the connection path. | |
editable? |
|
Defines the editing behavior of the connections. | |
endCap? |
|
The connections end cap configuration. | |
fromConnector? |
|
Specifies the name of the source shape connector that should be used by default. | |
hover? |
|
Defines the default styling that is applied when the user hovers over a connection. | |
selectable? |
|
Specifies if connections can be selected. | |
selection? |
|
Defines the connections selection configuration. | |
startCap? |
|
The connection start cap configuration or type name. | |
stroke? |
|
Defines the connection line configuration. | |
toConnector? |
|
Specifies the name of the target shape connector that should be used by default. | |
type? |
|
|
Specifies the connections type. The supported values are:
|