拖拽实现流程图Drawflow.js插件

拖拽实现流程图Drawflow.js插件源码下载

看看谁在用

查看文件目录结构

文件大小:6.72M

素材分类: 插件- 其它前端代码

更新时间:2021-11-04

Drawflow.js是动态生成的JavaScript库,通过拖拽实现一个流程图。

更多API方法
// get node from ID
editor.getNodeFromId(id)

// get nodes from name
editor.getNodesFromName(name)

// remove a node
editor.removeNodeId(id)

// add input to node
editor.addNodeInput(id)

// add output to node
editor.addNodeOutput(id);

// remove input from node.
editor.removeNodeInput(id, input_class)

// remove output from node
editor.removeNodeOutput(id, output_class)

// add a connection
editor.addConnection(id_output, id_input, output_class, input_class)

// remove connection
editor.removeSingleConnection(id_output, id_input, output_class, input_class)

// update connections between nodes
editor.updateConnectionNodes(id) 

// remove a collection between nodes
editor.removeConnectionNodeId(id);

// get module from node ID
editor.getModuleFromNodeId(id) 

// clear the data of the selected node
editor.clearModuleSelected();

// clear all data
editor.clear();

// zoom in/out
editor.zoom_in();
editor.zoom_out();
事件处理
editor.on('nodeCreated', function(id) {
  // do something
})

editor.on('nodeRemoved', function(id) {
  // do something
})

editor.on('nodeDataChanged', function(id) {
  // do something
})

editor.on('nodeSelected', function(id) {
  // do something
})

editor.on('nodeUnselected', function(id) {
  // do something
})

editor.on('nodeMoved', function(id) {
  // do something
})

editor.on('connectionCreated', function(ouput_id, input_id, ouput_class, input_class) {
  // do something
})

editor.on('connectionRemoved', function(ouput_id, input_id, ouput_class, input_class) {
  // do something
})

editor.on('connectionSelected', function(ouput_id, input_id, ouput_class, input_class) {
  // do something
})

editor.on('connectionUnselected', function() {
  // do something
})

editor.on('connectionStart', function(output_id, output_class) {
  // do something
})

editor.on('connectionCancel', function() {
  // do something
})

editor.on('addReroute', function(id) {
  // do something
})

editor.on('removeReroute', function(id) {
  // do something
})

editor.on('rerouteMoved', function(id) {
  // do something
})

editor.on('moduleCreated', function(name) {
  // do something
})

editor.on('moduleChanged', function(name) {
  // do something
})

editor.on('moduleRemoved', function(name) {
  // do something
})

editor.on('mouseMove', function(x, y) {
  // do something
})

editor.on('mouseUp', function(event) {
  // do something
})

editor.on('keydown', function(event) {
  // do something
})

editor.on('click', function(event) {
  // do something
})

editor.on('clickEnd', function(event) {
  // do something
})

editor.on('contextmenu', function(event) {
  // do something
})

editor.on('zoom', function(zoom_level) {
  // do something
})

editor.on('translate', function(x, y) {
  // do something
})

editor.on('import', function() {
  // do something
})

editor.on('export', function(data) {
  // do something
})

拖拽实现流程图Drawflow.js插件

正在加载文件目录...

qq下载了 此素材
染尘灬下载了 此素材
*下载了 此素材
吕大白下载了 此素材
恍恍惚惚200407下载了 此素材
恍恍惚惚200407下载了 此素材
睡到自然醒下载了 此素材
锅盖鱼下载了 此素材
我勒个擦下载了 此素材
E灯下载了 此素材

也许你还喜欢

  1. 纯css绘制的审批流程图样式代码
  2. jQuery流程图制作插件
  3. JS拖拽连线流程图代码
  4. jQuery工业流程图插件jsPlumb
  5. jQuery循环流程图插件代码可添加
  6. antx6拖拽流程图自定义
  7. HTML5流程图拖拽定义JS插件
  8. vuejs流程图树菜单
网站顶部导航带下拉的Navigation
  • 标签查找|关于我们|用户协议|格式化工具|bootstrapmb.com 版权所有
  • 背景样式编辑器|按钮样式编辑器|背景动效编辑器|图片布局编辑器