Coder Social home page Coder Social logo

vue-flowchart's Introduction

vue-flowchart

This lib is under heavy development. It is not production-ready and API could change dramatically. Feel free to use it anyway.

Usage

Soon

Graph Data

{
  links:[
    {
      id :String,
      source :String, // a node ID
      sourcePort :String,
      target: node3,
      targetPort: 'in'
    },
    ...
  ],
  nodes: [
    {
      id :String,
      type: :String, // default: 'default'
      data: {
        name: "Caption",
        outVariables: ['out']
      },
      x :Number, // in px
      y :Number, // in px
    },
  ],
}

Example

TO-DO

Contributions

are welcome :)

vue-flowchart's People

Contributors

alexandrebonaventure avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-flowchart's Issues

How to run the demo?

I use

    yarn install
    yarn run serve

but in opened browser, it's empty and in console a log says
vue.runtime.common.js:556 [Vue warn]: Cannot find element: #app

[Serialization and deserialization] How to save a flowchart ?

I have tried this flowchart and attracted by it, it's architecture is natural and lucid, now i want to ask a question further, that is how to serialize a flowchart object to save it and then deserialize it for next modification?
In flowchart libs like JointJS there are functions of graph/canvas called "toJSON" and "fromJSON" to implement serialization and deserialization(serialize all elements, include canvas, all links, all boxes, and so on), which are easy to use. I think we should also take this into account.

'NODE_PATH'is not recognized as an internal or external command

After installed all the packages and run “npm run serve”, i got this error "'NODE_PATH' is not recognized as an internal or external command...".
Then I set env_variable 'NODE_PATH' to 'D:\Program Files\nodejs\node_global\node_modules' ( with nodejs
installed in 'D:\Program Files\nodejs'), but still failed to start server.
I think there is a mistake of NODE_PATH but i don't know how to fix it, thanks for help.

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.