Gateway
extends ExportableObject
Default exportable object for the bpmn2.Gateway
element.
constructorβ
constructor(cellView: dia.CellView, type?: string, label?: string);
Methodsβ
getType()β
getType(): string;
Returns the gateway type. Override this method to change how the gateway type is retrieved.
toGatewayXMLElement()β
toGatewayXMLElement(): Element;
Creates gateway
XML element from the exportable object.
toShapeXMLElement()β
toShapeXMLElement(): Element;
Creates BPMNShape
XML element from the exportable object.
Propertiesβ
typeβ
type: string | null;
Gateway type.
labelβ
label: string | null;
Gateway label.