Release 1.1.0 is now available, dual-licensed under LGPL and EPL.
JGraphT source code has moved from the old svn repository to github. Please send all new contributions there in the form of pull requests!
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:
We have also started auto-publishing SNAPSHOT builds for every successful commit to master. To use the bleeding edge:
<groupId>org.jgrapht</groupId> <artifactId>jgrapht-core</artifactId> <version>1.1.0</version>
and make sure the snapshot repository is enabled:
<groupId>org.jgrapht</groupId> <artifactId>jgrapht-core</artifactId> <version>1.1.1-SNAPSHOT</version>
<repositories> <repository> <id>maven-snapshots</id> <url>http://oss.sonatype.org/content/repositories/snapshots</url> <layout>default</layout> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories>
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.md file to help you to get started. Starting with version 1.0.0, JDK 1.8 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 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-2017, by Barak Naveh and Contributors. All rights reserved.|