Skip to main content

DiagramShape Properties

Provides information about a shape.
Name Description
attachedConnectorIds Gets an array of attached connector identifiers.
containerChildItemIds Gets identifiers of shapes stored in the container.
containerExpanded Gets whether the container is expanded.
containerId Gets the identifier of the container that stores the shape.
id Gets the item’s internal identifier. Inherited from DiagramItem.
key Gets the item’s key from a data source. Inherited from DiagramItem.
position Gets the shape position (x- and y-coordinates) in units.
size Gets the shape size in units.
text Gets the shape’s text.
type Gets the shape type.
See Also