ngx-bpmn-modeler
Angular bpmn-js component with Custom Properties Panel Support.
Implements ControlValueAccesor
.
Getting Started
1. Install packages
# bpmn-js dependencies npm i bpmn-js bpmn-js-properties-panel diagram-js-minimap# this package npm i ngx-bpmn-modeler
2. Include bpmn-js stylesheets
;;;;
3. Import Module
;
4. Include the component
Inputs
name | description |
---|---|
wrapperClass | Wrapper element custom CSS Class |
containerClass | Container element custom CSS Class |
propertiesClass | Properties Panel element custom CSS Class |
propertiesProvider | Your custom Properties Provider. See bpmn-js properties panel extension |
propertiesDescriptor | Your custom Properties Descriptor. See bpmn-js properties panel extension |
additionalModules | Additional BPMN-js modules. |
Tips
Adding Custom Properties
You can see how at bpmn-js examples
If your customizations are simple, you can omit PropertiesProvider
by adding some extra fields to your PropertiesDescriptor
.