Defines a shape type. If you wish to supply custom shape types you should extend this interface.

interface ShapeType {
    objectType?: string;
}

Properties

Properties

objectType?: string

Defaults to Node. Indicates the object type - Node or Group - to create in the UI when a shape of this type is dragged.