Skip to main content

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;
}

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub