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