Activity
extends ExportableObject
Default exportable object for the bpmn2.Activity
element. Includes both tasks and sub-processes.
constructorβ
constructor(cellView: dia.CellView, type?: string, markers?: string[], label?: string);
Methodsβ
isSubProcess()β
isSubProcess(): boolean;
Returns true
if the activity is a sub-process. Override this method to show the export process that the element should be treated as a sub-process.
toShapeXMLElement()β
toShapeXMLElement(): Element;
Creates BPMNShape
XML element from the exportable object.
toTaskXMLElement()β
toTaskXMLElement(): Element;
Creates task
or subprocess
XML element from the exportable object.
Propertiesβ
typeβ
type: string;
Activity type.
markersβ
markers: string[];
Activity markers.
labelβ
label: string | null;
Activity label.