8

I have a requirement for modelling flowchart like (workflows) diagrams in the Web application.

Request suggestions for an open-source javascript library for the same.

Features I am looking include drag-drop, connectors, 1-1 and 1-to-many relationships, auto arrange. Requesting recommendations to make the UI responsive, and gel with existing CSS frameworks.

I am quite new to front end development, any help will be highly appreciated!

  • 1
    Does Alternatives to GoJS for flowchart help any? – Mawg Oct 4 '18 at 10:36
  • 1
    @Nicolas Raoul Please undelete my answer because the other answer is also not open source. – Davis Jebaraj Oct 5 '18 at 16:01
  • 1
    @Mawg I don't see where GoJS is gratis? Looks like it requires a paid license. Essential Diagram JS is open source as the source is available on Github and it is free for users with less than a million USD in revenue so my answer should be undeleted if Go JS answer remains. Thanks. – Davis Jebaraj Oct 6 '18 at 13:14
  • 1
    nPingali: By "open source", did you mean you want a solution where you can modify and redistribute the source code (as written in the tag description)? Or did you just mean gratis? Or did you just mean a solution whose source code can be viewed, even if it can not be redistributed freely? – Nicolas Raoul Oct 6 '18 at 14:47
  • 1
    @Mawg I leave it your discretion. I am fine with your answer remaining as someone could benefit from it and believe the same applies to my answer also. – Davis Jebaraj Oct 6 '18 at 16:05
0

I take the requirement "open-source" as defined in the tag wiki, i.e. that you want to be able to modify and redistribute the source code.

Your best choice currently is JointJS, which is licensed under the MPL-2. There is a demo, which seems to do most of what you want, but JointJS, the free part, is actually embedded in Rappid, a commercial wrapper around JointJS. Not sure, what part of the demo is Rappid and what is JointJS.

An alternative might be jsPlumb Community Edition. In the demo the sophistication of the elements seems to be a bit less than for JointJS. Also there, only the Community Edition is actually open source (MIT and GPL-2).

Finally, jsUML2 might be useful, distributed under GPL-3 and last updated in 2017. The demo shows mostly class diagrams, but one could probably use it for displaying flow charts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.