A library based on BPMN-Js-Property-panel modified to support the activiti engine.
一个基于bpmn-js-properties-panel进行改造成支持activiti引擎的库。
npm install bpmn-js-properties-panel-for-activiti
import "bpmn-js-properties-panel-for-activiti/dist/assets/bpmn-js-properties-panel-for-activiti.css"
import propertiesPanelModule from "bpmn-js-properties-panel-for-activiti"
import propertiesProviderModule from "bpmn-js-properties-panel-for-activiti/lib/provider/activiti"
import activitiModdleExtension from "bpmn-js-properties-panel-for-activiti/config/activiti.json"
new BpmnModeler({
container: document.getElementById("canvas"),
propertiesPanel: {
parent: "#properties"
},
additionalModules: [
propertiesPanelModule,
propertiesProviderModule,
],
moddleExtensions: {
activiti: activitiModdleExtension
}
})