0.0.4 • Published 5 years ago
fan-flow-chart v0.0.4
plugin positioning, the basic functions of the software
- VUE for the PC side flow chart plug-in, custom process
the way to run the code: install the environment, start the command, etc
- AntV /G6 plugin needs to be installed;
> > npm install --save @antv/g6> > main.js
> > import graph from "fanmin-flow-chart";
> > Vue.use(graph);
> > conmponent ues
> > <graph :graphData="graphData"></graph>Brief instructions
Required parameters
| parameter | instructions || graphData | Receive an object, The object contains two arrays,For example: graphData:{ nodes:[], edges:[]} |The callback method
| methods | callback || node-check | Currently selected node || edge-check | Currently selected connection || save-data | All the data that was saved last || clear-data | Clear the current flowchart |Frequently Asked Questions
If you have any questions, please go to github< br >
For detailed explanation on how things work, consult the github.