Skip to content

Commit

Permalink
docu
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Feb 5, 2023
1 parent f04453b commit f48eb7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion open-bpmn.glsp-client/open-bpmn-glsp/src/di.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,11 @@ const bpmnDiagramModule = new ContainerModule((bind, unbind, isBound, rebind) =>

});

/*
* Create the createClientContainer with the diagramModule and the BPMN bpmnPropertyModule...
*/
export default function createBPMNDiagramContainer(widgetId: string): Container {
// Create the createClientContainer with the diagramModule and the BPMN bpmnPropertyModule...
// Note: the widgetId is generated by the GLSP core and is something like 'bpmn-diagram_0'
const container = createDiagramContainer(bpmnDiagramModule, bpmnPropertyModule);
overrideViewerOptions(container, {
baseDiv: widgetId,
Expand Down

0 comments on commit f48eb7b

Please sign in to comment.