0.0.1 • Published 6 years ago
kflowchart v0.0.1
KFlowchart
Description
kflowchart is simple javascript flowchart library for generating flowchart programmatically.
Requirement
- ES6 Javascript
- Jquery
Usage
html
<div id="flowchart"></div>
javascript
var flowchart = new kflowchart('flowchart',options);
flowchart.make();
Options
var options = {
data : [
{
type:"round",
text:"START",
},
{
type:"operation",
head:"LOREM IPSUM1",
text:"lorem ipsum dolor sit amet",
},
{
type:"condition",
text:"lorem ipsum dolor sit amet3",
condition_yes:3,
condition_no:1
},
{
type:"operation",
head:"LOREM IPSUM1",
text:"lorem ipsum dolor sit amet",
},
{
type:"round",
text:"END",
}
]
}
0.0.1
6 years ago