<kendo:diagram-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.

Example

<kendo:diagram>
    <kendo:diagram-connectionDefaults></kendo:diagram-connectionDefaults>
</kendo:diagram>

Configuration Attributes

editable boolean

Defines the editing behavior of the connections. Further configuration is available via kendo:diagram-connectionDefaults-editable.

Example

<kendo:diagram-connectionDefaults editable="editable">
</kendo:diagram-connectionDefaults>

endCap java.lang.String

The connections end cap configuration. Can be set to a configuration object or a string that represents the endCap.type value. Further configuration is available via kendo:diagram-connectionDefaults-endCap.

Example

<kendo:diagram-connectionDefaults endCap="endCap">
</kendo:diagram-connectionDefaults>

fromConnector java.lang.String

Specifies the name of the source shape connector that should be used by default. Valid values are "top", "right", "bottom", "left" and "auto".

Example

<kendo:diagram-connectionDefaults fromConnector="fromConnector">
</kendo:diagram-connectionDefaults>

selectable boolean

Specifies if connections can be selected.

Example

<kendo:diagram-connectionDefaults selectable="selectable">
</kendo:diagram-connectionDefaults>

startCap java.lang.String

The connection start cap configuration or type name. Further configuration is available via kendo:diagram-connectionDefaults-startCap.

Example

<kendo:diagram-connectionDefaults startCap="startCap">
</kendo:diagram-connectionDefaults>

toConnector java.lang.String

Specifies the name of the target shape connector that should be used by default. Valid values are "top", "right", "bottom", "left" and "auto".

Example

<kendo:diagram-connectionDefaults toConnector="toConnector">
</kendo:diagram-connectionDefaults>

type java.lang.String

The connections type.

Example

<kendo:diagram-connectionDefaults type="type">
</kendo:diagram-connectionDefaults>

Configuration JSP Tags

kendo:diagram-connectionDefaults-content

Defines the label displayed on the connection path.

More documentation is available at kendo:diagram-connectionDefaults-content.

Example

<kendo:diagram-connectionDefaults>
    <kendo:diagram-connectionDefaults-content></kendo:diagram-connectionDefaults-content>
</kendo:diagram-connectionDefaults>

kendo:diagram-connectionDefaults-editable

Defines the editing behavior of the connections.

More documentation is available at kendo:diagram-connectionDefaults-editable.

Example

<kendo:diagram-connectionDefaults>
    <kendo:diagram-connectionDefaults-editable></kendo:diagram-connectionDefaults-editable>
</kendo:diagram-connectionDefaults>

kendo:diagram-connectionDefaults-endCap

The connections end cap configuration. Can be set to a configuration object or a string that represents the endCap.type value.

More documentation is available at kendo:diagram-connectionDefaults-endCap.

Example

<kendo:diagram-connectionDefaults>
    <kendo:diagram-connectionDefaults-endCap></kendo:diagram-connectionDefaults-endCap>
</kendo:diagram-connectionDefaults>

kendo:diagram-connectionDefaults-hover

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

More documentation is available at kendo:diagram-connectionDefaults-hover.

Example

<kendo:diagram-connectionDefaults>
    <kendo:diagram-connectionDefaults-hover></kendo:diagram-connectionDefaults-hover>
</kendo:diagram-connectionDefaults>

kendo:diagram-connectionDefaults-selection

Defines the connections selection configuration.

More documentation is available at kendo:diagram-connectionDefaults-selection.

Example

<kendo:diagram-connectionDefaults>
    <kendo:diagram-connectionDefaults-selection></kendo:diagram-connectionDefaults-selection>
</kendo:diagram-connectionDefaults>

kendo:diagram-connectionDefaults-startCap

The connection start cap configuration or type name.

More documentation is available at kendo:diagram-connectionDefaults-startCap.

Example

<kendo:diagram-connectionDefaults>
    <kendo:diagram-connectionDefaults-startCap></kendo:diagram-connectionDefaults-startCap>
</kendo:diagram-connectionDefaults>

kendo:diagram-connectionDefaults-stroke

Defines the connection line configuration.

More documentation is available at kendo:diagram-connectionDefaults-stroke.

Example

<kendo:diagram-connectionDefaults>
    <kendo:diagram-connectionDefaults-stroke></kendo:diagram-connectionDefaults-stroke>
</kendo:diagram-connectionDefaults>
In this article
Not finding the help you need?