Create a graph image (png, jpg ..) from an XML file with Java
- by alibm
Hello,
I have an XML file and I want to create a graph with some entities, then store this graph in an image, JPG or PNG.
So is there a library in Java do like this?? Or is there some tricks by parsing XML files and ... ???
Here an example
XML file:
<?xml version="1.0"?>
<process>
<p n=1>Tove</p>
<p n=2>Jani</p>
<p n=2>Bill</p>
<p n=4>John</p>
</process>
And the output will be like this.
http://i.imgur.com [slash] YevGX.png
Please change [slash] by / to see the image.
Thanks in advance.
Best Regards,
AliBM