I'm currently working on a university project to implement simple graph algorithms in java (https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)) and I'm struggling to find a simple solution to export my created graphs into a image file (i.e. .png)
I already looked at tools like GraphViz and GraphStream, but they seem to focus more on visualizing their own code to create graphs.
Has anybody knowledge of a simple library or maybe even external tool which can interpret my generated output in a image file? If possible something lightweight and easy to implement.
[My code] ---> [Output] ---> [What I'm in search of] ---> [Image File]