JGraphT is a free Java graph library that provides mathematical graph-theory objects and algorithms. JGraphT supports various types of graphs including:
Although powerful, JGraphT is designed to be simple and type-safe (via Java 5 generics). For example, graph vertices can be of any objects. You can create graphs based on: Strings, URLs, XML documents, etc; you can even create graphs of graphs! This code example shows how.
Other features offered by JGraphT:
You can download the latest version of JGraphT from the project page on SourceForge:
|
jgrapht-0.7.3.zip |
Windows Download
A ZIP file that contains source code and runtime files of JGraphT. |
|
jgrapht-0.7.3.tar.gz |
Linux Download
A tar.gz file that contains source code and runtime files of JGraphT. |
There are two downloads, one for Windows-based systems, and one for
Linux/Unix-based systems. The downloads contain identical Java source
code and a README.html file to help you to get started.
Starting with version 0.7.2, JDK 1.5 is required at a minimum (earlier
versions with less functionality can be used on older JDK's/JRE's).
The JavaDoc files are available online. They are also included in the downloads so you can view them locally.
The JGraphT project is maintained at SourceForge, where you can:
If you are reporting a bug, please describe a reproducing scenario. If possible, attach a small program with a description of what is wrong and needs fixing.
If you need a bug fixed really urgently, use the source...
There is also a wiki set up for everyone in the JGraphT community to share information about the project.
JGraphT and JGraph are two different libraries which are optimized for different purposes.
JGraphT:
JGraph:
The two libraries are complementary and can be used together. You will probably find JGraphT easier to start with and more eligible for your data model. When you need graph visualizations, you can add JGraph to do them for you.
If you add new features or fix bugs please send us your updates. We will add them to the next release of JGraphT so everyone can enjoy your contribution. You might also benefit from it: others may fix hidden bugs in your code or may contribute new features.
If you wish to join the JGraphT team, please
send us a few words about yourself - we'll be happy to grow!
| © Copyright 2003-2005, by Barak Naveh and Contributors. All rights reserved. |