This may not be ideal, but I've been using the dot graphing language to
generate simple directed graph images and USEMAPs which can assign an
arbitrary url link to each node. I'm using this in a prototype, not in
a "production" system.
See http://www.graphviz.org/ for information on the dot language, once
you have dumped your connection information to the dot language you can
use a command like the following
dot -Tcmapx -o base.map -Tgif -o base.gif base.dot
to build the image and the usemap which should be included in your view
using something like the following.
<%= File.read("base.map") %>
<%= image_tag("base.gif", :usemap => '#map_name') %>
I'd be interested to hear better solutions for this problem.
Best -- Eric
"firstname.lastname@example.org" <email@example.com> writes: