Giter Site home page Giter Site logo

geekcheng / workflow-ui-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mammoth777/workflow-ui

0.0 2.0 0.0 3.23 MB

超简单易用的工作流/流程图组件UI

Home Page: https://mammoth777.github.io/workflow-ui/

JavaScript 0.24% HTML 15.84% Vue 52.95% TypeScript 15.20% CSS 15.78%

workflow-ui-1's Introduction

workflow-ui

晚点写文档..

todo

  • 注册插件的函数参数要再想想
  • 双击节点, 在节点元素上增加 node-selected class
  • 插件系统, 暴露jsplumb对象, vue实例, 节点层dom, 插件层dom
  • 单个节点对应一组endpoints

事件系统

emmm, 就用最简单的provide吧, 在顶层Vue示例做个触发器, 注入到每个子组件里, 挺好, 嗯, 是的

  • node-created
  • node-updated
  • node-dblclick
  • edge-connected

Doc

实例方法

getData

setData, initChart

两个方法相同

createNode

deleteItem

updateItem

节点的task是非响应式的. 这是故意为之的, 因为会有很多需要submit的场景

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

workflow-ui-1's People

Contributors

mammoth777 avatar

Watchers

 avatar  avatar

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.