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