gao-flow-chart
v1.0.4
Published
流程图渲染组件
Downloads
45
Maintainers
Readme
使用方法
- cdn引入
<script src="./dist/gao-flow-chart.min.js"></script>
- vue2.x
#npm
npm install gao-flow-chart -S
#yarn
yarn add gao-flow-chart
//main.js
import GaoFlowChart from 'gao-flow-chart'
Vue.use(GaoFlowChart)
<template>
<div>
<!-- options来源见【options来源】 -->
<gao-flow-chart :options="options"></gao-flow-chart>
</div>
</template>
<script>
import options from './options.js'
export default {
data() {
return {
options
}
}
}
</script>
options来源
访问https://gaojundong.com/flow-chart。创建自己的图表,导出js文件
issues
有问题欢迎留言github issues