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