oa-approval-flow
v2.5.3
Published
oa approval flow React component
Downloads
7
Readme
coding-flow
This Library provide bpmn modeler and viewer.
Installation
Install coding-flow via npm
npm install --save coding-flow
Development
安装依赖
yarn
启动 demo 项目
EID=************ yarn start
http://localhost:3000/#/modeler?bpmn
控制台输入 localStorage=”modeler:log“
Usage
Load modeler :
import {CflowBpmnModeler, CflowBpmnViewer} from 'coding-flow/lib'
<CflowBpmnModeler
url="xml modeler url"
//onError={ onError }
//onSucess={ onSuccess }
/>
Load Viewer :
import {CflowBpmnModeler, CflowBpmnViewer} from 'coding-flow/lib'
<CflowBpmnViewer
url="xml modeler url"
//onError={ onError }
//onSucess={ onSuccess }
/>