Is there any Java library to visualize common data structures (viz.stack queue LL etc) and their access methods? I just want to simulate what my data structure is doing..
3 Answers
If you just want to visualize the data, check out JUNG:
If you're talking about visualizing what your code is doing to the data, JUNG might still help with that, but just Google searching gave me a lot of results, so try that.
3 Comments
I didn't quite understand your questions:
Do you:
1) want to learn how they work? try google, you will find many good applets which explain the working of algorithms and data structures through simple animation.
2) want to see the behavior in your app, run the app in debug mode.
1 Comment
You can also use JGraphT.
You can find relevant discussion here: Stackoverflow - Good Java Graph Algorithm Library