Skip to main content
Version: 4.1

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.