Ir al contenido

ShapeDefinition

Defined in: shapes/ShapeTypes.ts:104

Shape definition with drawing instructions.

defaultHeight: number

Defined in: shapes/ShapeTypes.ts:112

Default height.


defaultWidth: number

Defined in: shapes/ShapeTypes.ts:110

Default width.


hasPorts: boolean

Defined in: shapes/ShapeTypes.ts:116

Whether the shape has ports.


name: string

Defined in: shapes/ShapeTypes.ts:108

Display name.


resizable: boolean

Defined in: shapes/ShapeTypes.ts:114

Whether the shape can be resized.


type: ShapeType

Defined in: shapes/ShapeTypes.ts:106

The shape type identifier.