Skip to main content

Import

Enables the BPMN import process within JointJS. Learn more about the BPMN import plugin.

Functions

fromBPMN()

fromBPMN(xmlDoc: XMLDocument, options: ImportOptions): ImportResult;

Types

ImportOptions

interface ImportOptions {
bpmn2Shapes: Object;
cellFactories?: {
[element in DecisiveElements]?: (
xmlNode: Element,
xmlDoc: XMLDocument,
defaultFactory: DefaultFactory
) => dia.Cell | null
}
}

ImportResult

interface ImportResult {
cells: dia.Cell[];
errors: string[];
}

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub