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,018
  • 5
  • 25
  • 46

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,342
  • 6
  • 37
  • 70
2

JUNG JGRAPH

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

Community
  • 1
  • 1
nachokk
  • 14,215
  • 4
  • 23
  • 51