Skip to main content

Diagram properties overview

NameDescription
autoplacementOptional. An object with configuration settings for auto-placement of shapes
defaultsOptional. An object which sets the default configuration of a shape or line
defaultShapeTypeOptional. The default type of a shape
exportStylesOptional. Defines the styles that will be sent to the export service when exporting the diagram
lineConfigOptional. An object with default configuration for the connector lines
lineGapDeprecated! Optional. Sets the distance to the right-angled bend of a connector line
marginOptional. An object with settings of margins for positioning items in the diagram
scaleOptional. Defines the diagram scale
selectOptional. Enables selection in the diagram
toolbarOptional. An array of icon objects which sets a toolbar with buttons for items
typeRequired. Defines the mode of Diagram initialization
typeConfigOptional. An object which defines the direction of the shapes in the mindmap mode of Diagram