Neep help with URL at nodes

Hi. I've been using GraphViz in my php-based website for a while, generating graphs in .png

$this->imageGraphviz->image('png','dot');

 

However, .png output doesn't support URL stored at nodes. I've tried using the modes that do support URL (cmap, i*map, svg, ps2), but I cannot make my website display the actual graph.

My code looks something like this:

 <a href="./phpThatCreatesTheGraph"> <img href="./phpThatCreatesTheGraph"> </a>

This way, the image is created and displayed at the website, and can be clicked to be opened in a new browser. What I'm trying to do is that the graph does get displayed and has the nodes clickable. I'm not sure if I was clear enough in what do I need help with. Thanks in advance for your help.

Recent comments