Shape API in JavaScript (ES5) Diagram API control
Defines the behavior of default shape
Properties
type
Shapes
Defines the type of node shape
- Path - Sets the type of the node as Path
- Text - Sets the type of the node as Text
- Image - Sets the type of the node as Image
- Basic - Sets the type of the node as Basic
- Flow - Sets the type of the node as Flow
- Bpmn - Sets the type of the node as Bpmn
- Native - Sets the type of the node as Native
- HTML - Sets the type of the node as HTML
- UMLActivity - Sets the type of the node as UMLActivity
Defaults to ‘Basic’