Eclipse Plugin \ Java Library for Creating Flowcharts

I need to create flowcharts based on specific inputs using java code, what are the best ways \ plugins to do this.

sample chart

something like the diagram above (sample only taken from google images)

Charts should also be editable after generation.

+5
source share
4 answers

I would recommend Graphviz , the industry standard for graphing. It also has a Java API (as well as perl, python, ruby, etc.), so it can be used in Eclipse.

It uses DOT , a language for describing simple text graphics. A small example:

digraph graphname { a -> b -> c; b -> d; } 

And the resulting graph:

Oriented Graph Example

Graphviz provides everything you need to create any kind of graphs. And yes, the charts are editable.

Graphviz Eclipse Plugin: https://github.com/abstratt/eclipsegraphviz

0
source

Perhaps something like https://github.com/jgraph/draw.io might solve your problem. This is the source code for https://www.draw.io/ , which is a graphical editor for creating diagrams.

So, you can create an XML file and load it into your own version of draw.io and create a flowchart. Then you can edit it and save in file formats.

This is not an ideal answer, but it may be worth a try.

0
source

From the JDiagram document:

MindFusion.Diagramming for Java Swing (short JDiagram) is a Java class library that allows you to create and display various types of charts and diagrams. The library includes model classes that describe the structure and appearance of the flowchart, as well as view classes that can be integrated into any application designed for Java Swing framework

Here are examples of what you can achieve with the library:

http://www.mindfusion.eu/onlinehelp/jdiagram/

There you can view textbooks and documents.

0
source

I think this library might fit the bill ...

https://eclipse.org/modeling/mdt/?project=xsd#xsd

0
source

Source: https://habr.com/ru/post/1267220/


All Articles