Export
Enables the BPMN export process within JointJS. Learn more about the BPMN export plugin.
Functionsβ
toBPMN()β
toBPMN(paper: dia.Paper, options?: ExportOptions): ExportResult;
Typesβ
ExportOptionsβ
interface ExportOptions {
exportableObjectFactories: {
[type in BPMN2Types]?: (cellView: dia.CellView, defaultFactory: DefaultFactory) => exportableObjects.ExportableObject | null;
} | {
[type: string]: (cellView: dia.CellView) => exportableObjects.ExportableObject | null;
}
}
ExportResultβ
interface ExportResult {
xml: XMLDocument;
}