Annotation
extends ExportableObject
Default exportable object for the bpmn2.Annotation
element.
constructor​
constructor(cellView: dia.CellView, text?: string);
Methods​
getText()​
getText(): string;
Returns annotation text from the cell. Override this method to change how the text is retrieved.
toShapeXMLElement()​
toShapeXMLElement(): Element;
Creates BPMNShape
XML element from the exportable object.
toTextAnnotationXMLElement()​
toTextAnnotationXMLElement(): Element;
Creates textAnnotation
XML element from the exportable object.
Properties​
text​
text: string | null;
Annotation text.