Skip to content

一个基于bpmn-js-properties-panel进行改造成支持activiti引擎的库

License

Notifications You must be signed in to change notification settings

BlueBiuBiu/bpmn-js-properties-panel-for-activiti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bpmn-js-properties-panel-for-activiti

A library based on BPMN-Js-Property-panel modified to support the activiti engine.

一个基于bpmn-js-properties-panel进行改造成支持activiti引擎的库。

如何使用呢?

1、npm安装依赖

npm install bpmn-js-properties-panel-for-activiti

2、引入模块

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"

3、添加即可

  new BpmnModeler({
    container: document.getElementById("canvas"),
    propertiesPanel: {
      parent: "#properties"
    },
    additionalModules: [
      propertiesPanelModule,
      propertiesProviderModule,
    ],
    moddleExtensions: {
      activiti: activitiModdleExtension
    }
  })

About

一个基于bpmn-js-properties-panel进行改造成支持activiti引擎的库

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published