Am implementing bpmn.io with bpmn-js-properties-panel in Angular 13;
Following are my imports;
import BpmnModeler from ‘bpmn-js/lib/Modeler’;
import { BpmnPropertiesPanelModule,
BpmnPropertiesProviderModule } from ‘bpmn-js-properties-panel’;
import BpmnColorPickerModule from ‘bpmn-js-color-picker’;
This my HTML;
<div #ref class="diagram-container">
<div #canvas class="canvas" id="js-canvas"></div>
<div class="properties-panel" id="js-properties-panel"></div>
</div>
I have this snippet of code in my .ts file;
constructor(private http : HttpClient) {
this.bpmnModeler = new BpmnModeler({
additionalModules : [
BpmnColorPickerModule
]
});
Above code works showing;
- Diagram tool box on the left hand side
- Bpmn Diagram on the left hand side
- Color palette on each component in the diagram
- No Properties Panel on the right hand side (which is probably correct for the existing code)
I am trying to figure out how to get Diagram tool box for New, Open, Delete Bpmn Diagrams - do I have to install a separate package like I did for bpmn-js-color-picker and bpmn-js-properties-panel ?
Please guide me.
If you have a link to a complete guide for implementing bpmn.io in Angular 13, please share.