Java library for visualizing the algorithm

Is there any Java library for visualizing common data structures (viz.stack queue LL, etc.) and their access methods? I just want to simulate what my data structure does.

+6
source share
3 answers

If you just want to visualize the data, check out the JUNG :

http://jung.sourceforge.net/

If you are talking about visualizing what your code does for data, the JUNG can still help with that, but just a google search gave me a lot of results, so try this.

+2
source

I do not quite understand your questions:

You:

1) want to know how they work? try google, you will find many good applets that explain how algorithms and data structures work with simple animations.

2) want to see the behavior in your application, run the application in debug mode.

0
source

You can also use JGraphT .

You can find the relevant discussion here: fooobar.com/questions/27809 / ...

0
source

Source: https://habr.com/ru/post/903283/


All Articles