Code Monkey home page Code Monkey logo

vue-flow-design-plus's Introduction

在线演示

点击预览

介绍

  • VUE FLOW DESIGN PLUS流程设计器,基于Vue + Ant Design Vue + JSPlumb,该组件目的是为了使用在Vue项目中,它前身是VFD流程设计器
  • Vue版本以全新的技术栈重构了代码,并在原版基础上实现了更好的操作方式,新版会作为优先版本持续迭代。

Vue3版本开源

  • VUE3 FLOW DESIGN 流程设计器,基于 Vue3 + TypeScript + Vite + Ant Design Vue 3 + JSPlumb。vue3-flow-design

优化内容

  • 解决之前VFD遗留的BUG
  • 将jquery-ui换成原生写法
  • 将jquery换成原生写法
  • 修改that为this写法,改写箭头函数
  • 注解添加
  • 持续优化
  • ...

操作命令

  • 安装项目node_modules包:yarn

  • 启动项目:yarn start

  • 构建项目dist文件夹资源:npm run build

效果演示

  • 最新界面效果 01

  • 基础面板

    02

  • 拖拽节点到绘图区连线

    03

  • 拖拽对齐或使用自动对齐

    04

  • 显示/隐藏网格

    05

  • 设置节点和连线的属性

    06

  • 单节点、多节点移动(按住CTRL键)

    07

  • 改变节点对齐的排序顺序(按住Ctrl键一个一个单击选中要对齐的节点,单击的顺序就是对齐的排列顺序)

    08

  • 清空画布,重新绘制

    09

  • 保存流程图(会生成一段json数据,后台可以保存这段数据,为了便于调试,生成的json数据可以通过快捷键CTRL+ALT+T打开的测试窗口看到。同时也可以从该窗口载入其他的符合流程图的json数据)

    10

  • 保存流程图为图片保存到本地

    11

  • 画布拖拽、缩放

    12

  • 通过设置页面(CTRL+ALT+S)可以设置相关参数

    13

  • 快捷键说明

    14

  • 。。。。。。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.