Ir al contenido

normalizeShapeType

normalizeShapeType(value): ShapeType

Defined in: shapes/ShapeTypes.ts:938

Normalize a GoJS-style figure name (e.g. “RoundedRectangle”, “ManualOperation”) or an existing ShapeType into a valid ShapeType. Falls back to ‘rect’ for unknown names.

string

ShapeType