ShapeDefaults.editable
configurationDefines the shape editable options.
shapeDefaults.editable
Boolean|ObjectDefault: true
Specifies if new connections can be added using the shapes connectors.
Default: true
shapeDefaults.editable.drag
BooleanSpecifies if the shapes can be dragged.
Default: true
Specifies if the shapes can be removed.
Default: true
shapeDefaults.editable.tools
Array`|`BooleanSpecifies the toolbar tools. Provides all options that are supported for toolbar.items. If set to false, no edit tools will be displayed.
The predefined tools are:
- "edit" - The selected item can be edited.
- "delete" - The selected items can be deleted.
- "rotateClockwise" - The selected items can be rotated clockwise. The default rotation value is 90 degrees.
- "rotateAnticlockwise" - The selected items can be rotated anticlockwise. The default rotation value is 90 degrees.