JGraphT source code has moved from the old svn repository to github. Please send all new contributions there in the form of pull requests!
Release 0.8.3 is now available. As of 0.8.0, JGraphT now requires Java 1.6 to build and run. If you are stuck on an earlier JVM/JDK version, you can keep using older releases of JGraphT.
If you'd like to help out with project maintenance, click the Like button for our "Adopt-a-Highway" initiative on Facebook!
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 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:
A ZIP file that contains source code and runtime files of JGraphT.
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.8.0, JDK 1.6 is required at a minimum (earlier versions with less functionality can be used on older
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 intended for different purposes.
The two libraries are complementary and can be used together via the JGraphModelAdapter provided by JGraphT; this adapter allows a JGraphT graph data structure to be used as the model being viewed and controlled via JGraph.
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-2011, by Barak Naveh and Contributors. All rights reserved.|