How to implement graph data structure in java? Is there any existing library available?

Ankit Zalani picture Ankit Zalani · Jun 19, 2013 · Viewed 29.7k times · Source

I would like to implement a graph data structure in java to maintain a graph of objects. How should I achieve this? Is there a readily available library which could help?

Answer

bNd picture bNd · Jun 19, 2013

Is there a readily available library which could help?

DSL is the Data Structures Library in Java

JGraphT is a free Java graph library that provides mathematical graph-theory objects and algorithms.

JUNG is the Java Universal Network/Graph Framework