7

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?

Ankit Zalani
  • 3,068
  • 5
  • 27
  • 47

2 Answers2

6

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

bNd
  • 7,512
  • 7
  • 39
  • 72
2

JUNG JGRAPH

And read this may help you javax.swing.tree.TreeModel

Community
  • 1
  • 1
nachokk
  • 14,363
  • 4
  • 24
  • 53