User:DavidWhitten

From FollowTheScore
Revision as of 01:34, 26 February 2008 by DavidWhitten (talk | contribs)
Jump to: navigation, search

David Whitten is the Chief Technology Officer of WorldVistA (http://www.worldvista.org) a U.S. 501(c)(3) nonprofit dedicated to affordable healthcare computing worldwide.

Yea! I just got Wgraph working on a private wiki. As I understand it, it only generates svg and png files. I wonder what would be necessary to generate image maps ?


Image maps might be somewhat complicated. But there is a good alternative: use the 'href' attribute for nodes.

BTW: It is not really simple to install Wgraph. Did you have problems? Are you using Windows or Unix? Do you see the need for improving the installation description?

Gero 08:36, 23 February 2008 (CET)

You are correct that it wasn't simple to install. I have written some notes of my experiences.

My experiment with wgraph and href yielded: {{#wgraph: svg | thumb = 40 | node wgl { type data label "text notation\n-- WGL --" href "http://www.google.com" } }} which generates: {{#wgraph: svg | thumb = 40 |

 node wgl         { type data     label "text notation\n-- WGL --" href "http://www.google.com" }

}}

I note that I can't click on the node directly, but rather have to click on the image, then I can get to the svg file and then I can click on the node to go to google. Also the banner stating that it was generated by aiSee in the svg file is on top of the rest of the graph. Is there any way to have that banner be a part of the graph, but not taking over?

Sometimes it helps to place a small (white) node with no text into the right lower corner of your graph (using the 'level' parameter. Thus the aiSee logo gets out of way... (Gero 22:58, 25 February 2008 (CET))

I have run into an error (using the local windows aiSee) with this graph. Aparently, the anchor can only be from 1..255 in value. You get an error here on this wiki, but I didn't get one on my wiki, I don't know why. The error here was !! #Wgraph: invalid filename, only a-zA-Z0-9 and "-,_" are allowed. !! but of course, it really isn't that error at all. Just so you know...


I have started to read the Wgraph.php to learn how it works.