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

infojunkie’s picture

The Graphviz Filter Formats contains a renderer for SVG that can embed the ZGRViewer Applet. Are you asking about something like that?

deltab’s picture

Yes, it can work.

infojunkie’s picture

To embed ZGRViewer:

* Download the ZGRViewer Appler and copy the zvtm.jar and zgrviewer.jar files 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 = svg and @zgrviewer = TRUE

infojunkie’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jvieille’s picture

Title: Navigation or Applet/Flash/Flex stuff? » Dynamic Graph Navigation: ZGRViewer integration
Version: 6.x-1.x-dev » 6.x-1.6
Category: feature » support
Status: Closed (fixed) » Active

Fantastic!
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?

infojunkie’s picture

Status: Active » Postponed (maintainer needs more info)

However, the url linking does not seem to work.

Do 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?

jvieille’s picture

Status: Postponed (maintainer needs more info) » Fixed

I 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

infojunkie’s picture

Great stuff. Thanks for the link.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jvieille’s picture

Status: Closed (fixed) » Active

http://sourceforge.net/projects/zvtm/files/zgrviewer/ seems obsolete
It redirects to http://sourceforge.net/projects/zvtm/

Is this compatible too? The files look different

infojunkie’s picture

Status: Active » Closed (fixed)

No, 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.

jvieille’s picture

OK, I have checked again too.
Thanks

jvieille’s picture

Any way to get the viewer full screen?
(I could extend the window size by altering the applet call in code)

infojunkie’s picture

The fullscreen option is currently not supported. Feel free to submit a patch in a different issue.