Hello,
I’m trying to add bpmn editor to my angular app.
I’m using this code snippet to do it
import * as BpmnJS from 'bpmn-js/dist/bpmn-modeler.production.min.js';
ngOnInit(): void {
this.modeler = new BpmnJS({
container: '#canvas',
width: '100%',
height: '600px',
propertiesPanel: {
},
additionalModules: [
]
});
this.modeler.createDiagram(); // or ..importDiagram(xml);
but I can’t see toolbox and no edition capabilities are added.
BPMN diagram are correctly drawn.
What should I do to add bpmn editor to my angular component.
Thanks.