For anything more than say 50-100 nodes or edges, Graph Navigation becomes a design issue IMNO. So this question.
How difficult or easy would it be to replace the typical .dot etc generated PNG, JPEG or GIF formats with a more dynamic widget? I am of course thinking of Dynagraph http://www.graphviz.org/Documentation/EGKNW03.pdf - but also, in general, a way by which the graph can be made more interactive (hover on node shows/or/highlites only the subgraph, instead of all nodes, zoom in- and out- of a graph).
Comments
Comment #1
infojunkieThe Graphviz Filter Formats contains a renderer for SVG that can embed the ZGRViewer Applet. Are you asking about something like that?
Comment #2
deltab commentedYes, it can work.
Comment #3
infojunkieTo embed ZGRViewer:
* Download the ZGRViewer Appler and copy the
zvtm.jarandzgrviewer.jarfiles to the graphviz_filter module location, ensuring that their filenames are as written here* Enable the Graphviz Filter Formats module
* In your Graphviz script, specify the arguments
@formats = svgand@zgrviewer = TRUEComment #4
infojunkieComment #6
jvieille commentedFantastic!
This would really need to be mentioned in the documentation!
However, the url linking does not seem to work.
Is this hopeless, meaning we have to chose between static png image with links or dynamic navigation without linking capabilities?
Comment #7
infojunkieDo you mean URL linking does not work from within the applet? Can you find out if ZGRViewer has known issues with this feature, outside of Graphviz Filter?
Comment #8
jvieille commentedI just found that one needs to double click to activate the hyperlink... as the simple click as a neat navigation pointer.
Great add-on, really bring life to Graphviz and Drupal.
Look here
http://www.controlchainmanagement.org/node/992
Comment #9
infojunkieGreat stuff. Thanks for the link.
Comment #11
jvieille commentedhttp://sourceforge.net/projects/zvtm/files/zgrviewer/ seems obsolete
It redirects to http://sourceforge.net/projects/zvtm/
Is this compatible too? The files look different
Comment #12
infojunkieNo, the link is working for me. The latest ZGR Viewer applet (0.8.2) is from 2009. Note that Sourceforge has been experiencing flakiness for about a month now.
Comment #13
jvieille commentedOK, I have checked again too.
Thanks
Comment #14
jvieille commentedAny way to get the viewer full screen?
(I could extend the window size by altering the applet call in code)
Comment #15
infojunkieThe fullscreen option is currently not supported. Feel free to submit a patch in a different issue.