Search code examples
javadata-structuresgraphjgrapht

Java graph library with List of objects instead of hash tables


I've tried JGraphT It looks very promising but my problem is that my objects are changing and I want the Graph to map objects as a List not through hash table. So is there any other library? or what I should do to overcome that ?


Solution

  • Since JGraphT is free you can download the source code and modify it to use a LinkedHashMap instead of the default hash table.