Open GoogleCodeExporter opened 9 years ago
I knew it couldn't be that easy. :)
The method described above shows how to create a new script element and append
it to the head element. This
is a fine strategy, but does not tell us when the script file has *fininshed*
loading, which we need to know so we
can draw (or maybe redraw) the graph.
The method described here is more complete:
http://www.magichatdevelopment.com/content/blog/article.php?id=4
It creates the script element to load the JavaScript file. The file ends by
firing a custom event, which we listen for
to know when the file is done loading. Firing a custom event is new in
Prototype 1.6, so we need to update our
Prototype. I filed issue #21 to do that.
Original comment by ryandesi...@gmail.com
on 16 Oct 2008 at 8:03
Some time between 2.21.20081029.0445 and 2.21.20081115.1321 Graphviz started
automatically translating color names to their hex values in xdot output. I had
requested this here:
https://mailman.research.att.com/pipermail/graphviz-devel/2008/000792.html
Thanks to this change, the color scheme files aren't needed anymore for current
Graphviz. But I still want to implement dynamic loading to best support older
Graphviz.
Original comment by ryandesi...@gmail.com
on 26 Dec 2008 at 9:27
Original issue reported on code.google.com by
ryandesi...@gmail.com
on 16 Oct 2008 at 5:08