simple-flow-chart
v1.0.12
Published
Simple-flow-chart is a quick and convenient Vue plug-in to realize flow chart based on Vue-super-flow
Readme
simple-flow-chart
- Vue 流程图
- 基于 Vue-super-flow
安装
npm install simple-flow-chart
# OR
yarn add simple-flow-chartimport SimpleFlowChart from 'simple-flow-chart';
import 'simple-flow-chart/lib/index.css';
Vue.use(SimpleFlowChart);属性
| 属性 | 类型 | 默认值 | 描述 |
| -------- | ------------------ | ------------------ | ------------------ |
| range | Array | ['start', 'end'] | 需要高亮的节点区间 |
| maxTotal | String \| Number | 0 | 最大限制 |
方法
| 方法名 | 说明 | 参数 | | ------------- | ---------------------------- | ---- | | addNodeIfNeed | 当拖到容器中时,自动添加节点 | ---- | | addTemplate | 添加模板节点 | ---- |
示例


