I am looking for a libary to generate Graphs or Trees like Organizations Charts. This library should be able to generate plain Images from this graphs.
Does anyone knows a good, hopefully open source, library for Graph Visualization?
JGraph is probably your best bet.
It's an extremely powerful open-source graph visualization library.
Graphstream Project looks incredible and is open source. The best about it, it's not Swing based:
Graphstream Project
Github Link
Graph graph = new SingleGraph("Tutorial 1");
graph.setStrict(false);
graph.setAutoCreate(true); // optionally have it create nodes for you automatically
graph.addEdge("AB", "A", "B");
graph.addEdge("BC", "B", "C");
graph.addEdge("CA", "C", "A");
graph.display();
Or a tree:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With