UNPKG

bpmn-js

Version:

A bpmn 2.0 toolkit and web modeler

21 lines (19 loc) 697 B
export default class BpmnTreeWalker { /** * @param handler */ constructor(handler: Record<"element" | "root" | "error", Function>); registerDi: (di: any) => void; /** * Handle definitions and return the rendered diagram (if any). * * @param definitions to walk and import * @param diagram specific diagram to import and display * * @throws {Error} if no diagram to display could be found */ handleDefinitions: (definitions: ModdleElement, diagram?: ModdleElement) => void; handleDeferred: () => void; handleSubProcess: (subProcess: any, context: any) => void; } type ModdleElement = import("../model/Types").ModdleElement;