Git Product home page Git Product logo

bpmnjs's Introduction

bpmn.js

bpmn.js是一个BPMN2.0渲染工具包和web建模器, 使得画流程图的功能在前端来完成.

背景

研究过这个工具的朋友肯定知道,该工具的文档特别少,api介绍几乎找不到,本人因为最近工作接触到相关任务,开始研究了几天,就写一点总结,希望能帮到有需要的人。 我们的项目后端是是用Activiti工作流。需要前端绘制流程图,提交xml到后端来解析,并执行工作流。

项目功能

  1. bpmn.js基础知识介绍
  2. bpmn.js导入导出,回退前进等常用操作实现
  3. bpmn.js动态节点创建,删除节点,修改节点,删除线条,添加线条等操作
  4. bpmn.js修改节点颜色,线条颜色,节点属性等介绍
  5. 其他(汉化,面板创建等)

启动运行发布

npm install
npm run serve
npm run build

其他说明

本项目采用vue-cli4搭建,可以改造成react,angular,jq等实现,改造起来不困难,vue表现在数据渲染的不同,对bpmn的使用区别并不大。

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.