Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
com.io7m.jgrapht:jgrapht
Released: May 2, 2023
Written by Barak Naveh and Contributors
(C) Copyright 2003-2023, by Barak Naveh and Contributors. All rights reserved.
Please address all contributions, suggestions, and inquiries to the user mailing list
JGraphT is a free Java class library that provides mathematical graph-theory objects and algorithms. It runs on Java 2 Platform (requires JDK 11 or later starting with JGraphT 1.5.0).
JGraphT may be used under the terms of either the
or the
As a recipient of JGraphT, you may choose which license to receive the code under.
For detailed information on the dual license approach, see https://github.com/jgrapht/jgrapht/wiki/Users:-Relicensing.
A copy of the EPL license and the LPGL license is included in the download.
Please note that JGraphT is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Please refer to the license for details.
SPDX-License-Identifier: LGPL-2.1-or-later OR EPL-2.0
The files below make up the table of contents for a release distribution archive (produced by mvn package
):
README.md
this file
CONTRIBUTORS.md
list of contributors
HISTORY.md
changelog
license-EPL.txt
Eclipse Public License 2.0
license-LGPL.txt
GNU Lesser General Public License 2.1
javadoc/
Javadoc documentation
lib/
JGraphT libraries and dependencies:
jgrapht-core-x.y.z.jar
core libraryjgrapht-demo-x.y.z.jar
demo classesjgrapht-opt-x.y.z.jar
optimized graph implementationsjgrapht-ext-x.y.z.jar
extensionsjgrapht-io-x.y.z.jar
Importers/Exporters for various graph formatsjgrapht-guava-x.y.z.jar
Adapter classes for the Guava libraryjgrapht-unimi-dsi-x.y.z.jar
Webgraph adapter and succinct graph implementationsjgraphx-a.b.c.jar
JGraphX dependency libraryjheaps-x.y.jar
JHeaps libraryantlr4-runtime-x.y.jar
ANTLR parser runtimecommons-lang3-x.y.z.jar
Apache Commons Lang librarycommons-text-x.y.jar
Apache Commons Text libraryfastutil-x.y.z.jar
Fastutil libraryguava-x.y-jre.jar
Guava libraryjsap-x.y.jar
Jsap librarylogback-classic-x.y.z.jar
Loggerlogback-core-x.y.z.jar
Loggerslf4j-api-x.y.z.jar
Logger apisux4j-x.y.z.jar
Sux4j librarywebgraph-x.y.z.jar
Webgraph librarywebgraph-big-z.y.z.jar
Webgraph big libraryapfloat-x.x.x.jar
Apfloat librarysource/
complete source tree used to build this release
The JGraphT wiki provides various helpful pages for new users, including a How to use JGraphT in your projects page.
The package org.jgrapht.demo
includes small demo applications to help you get started. If you spawn your own demo app and think others can use it, please send it to us and we will add it to that package.
To run the graph visualization demo from the downloaded release, try executing this command in the lib directory:
java -jar jgrapht-demo-x.y.z.jar
More information can be found on the user pages of our wiki. Finally, all classes come with corresponding test classes. These test classes contain many examples.
To help us understand how you use JGraphT, and which features are important to you, tell us how you are using JGraphT, and cite the usage of JGraphT in your book, paper, website, or technical report.
Starting from 0.9.0, every JGraphT release is published to the Maven Central Repository. You can add a dependency from your project as follows:
<groupId>org.jgrapht</groupId>
<artifactId>jgrapht-core</artifactId>
<version>1.5.2</version>
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.5.3-SNAPSHOT</version>
and make sure the snapshot repository is enabled:
<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>
To help upgrading, JGraphT maintains a one-version-backwards compatibility. While this compatibility is not a hard promise, it is generally respected. (This policy was not followed for the jump from 0.6.0
to 0.7.0
due to the pervasive changes required for generics.) You can upgrade via:
Reading the change history is always recommended.
A local copy of the Javadoc HTML files is included in the distribution. The latest version of these files is also available on-line.
The JGraphT website is at https://www.jgrapht.org. You can use this site to:
There is also a wiki set up for everyone in the JGraphT community to share information about the project. For support, refer to our support page
Source code is hosted on github. You can send contributions as pull requests there.
If you add improvements to JGraphT please send them to us as pull requests on github. We will add them to the next release so that everyone can enjoy them. You might also benefit from it: others may fix bugs in your source files or may continue to enhance them.
With regards from
Barak Naveh, JGraphT Project Creator
John Sichi, JGraphT Project Administrator
Joris Kinable, JGraphtT Project Reviewer/Committer and Release Manager
Dimitrios Michail, JGraphT Project Reviewer/Committer
FAQs
A Java class library for graph-theory data structures and algorithms.
We found that com.io7m.jgrapht:jgrapht demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.