All docs
V19.2
23.1
22.2
22.1
21.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
A newer version of this page is available. Switch to the current version.

DiagramConnector

An object that provides information about a connector in the Diagram widget.

Type:

Object

dataItem

Returns the data item that is bound to the diagram item.

Type:

Object

fromKey

Specifies the connector's start node key.

Type:

Object

id

Specifies the item's internal identifier.

Type:

String

itemType

Returns the type of the item.

Type:

String

Accepted Values: 'shape' | 'connector'

texts

Specifies the connector's text.

Type:

Array<String>

toKey

Specifies the connector's end node key.

Type:

Object