Help us shape the 2021 DevExtreme Roadmap. Take our 5 minute survey.
Dismiss

DiagramItem

An object that provides information about an item (shape or connector) in the Diagram widget.

dataItem

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

Type:

Object

id

Specifies the item's internal identifier.

Type:

String

itemType

Returns the type of the item.

Type:

String

Accepted Values: 'shape' | 'connector'

key

Gets the item's key from a data source.

Type:

Object