var property = {width:1200, height:600, Toolbtns: ["Start Round", "End Round", "Task Round", "Node", "Chat" , "state", "plug", "join", "fork", "complex mix"], Havehead:true, Headbtns: ["New", "Open", "Save", "undo", "Redo
"," Reload "],//If havehead=true, define the Head area button havetool:true, Havegroup:true, useoperstack:true}; var remark = {cursor: "Select pointer", Direct: "Node Line", Start: "Entry node", "End": "Ending Node", "task": "Mission Node", node: "Automatic node", Chat: "Decision node", State: "Status Node", Plug: "Additional Plug-ins", Fork: "Branch Node", "join": "Joint Node", "Complex mix": "
Compound node ", Group:" Organization partition box edit Switch "};
VAR demo;
$ (document). Ready (function () {demo = $.creategooflow ($ ("#demo"), property);
Demo.setnoderemarks (remark);
Demo.onitemdel=function (Id,type) {//return confirm ("Are you sure you want to delete this unit?");
} demo.loaddata (Jsondata);
});
var out; function Export () {document.getElementById ("result"). Value = Json.stringify (Demo.exportdata ());}
Export drawing results online in JSON format