shapeType
Description
Optional. The type of the items
This value is applied, if the shape object doesn't contain the "type" property
Usage
shapeType?: string;
Default config
In the default mode of Editor (type: "default"):
shapeType: "rectangle"
In the org chart mode of Editor (type: "card"):
shapeType: "card"
In the mindmap mode of Editor (type: "topic"):
shapeType: "topic"
Example
const editor = new dhx.DiagramEditor("editor_container", {
shapeType: "circle"
});
Related articles: Default Shapes