Comments (2)
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 [email protected]
on 16 Oct 2008 at 8:03
from canviz.
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 [email protected]
on 26 Dec 2008 at 9:27
from canviz.
Related Issues (20)
- subgraph render fail HOT 1
- Makefile fails if "dot" is not found in the $PATH HOT 1
- Separate parsing from rendering HOT 6
- Project missing resources HOT 2
- Hello World example shows canviz div doesn't properly unclear itself HOT 3
- Links not working properly on large garphs HOT 2
- I think the BB is computing wrong HOT 3
- allow response to graph loaded
- Don't require Prototype; allow using jQuery or other libraries HOT 21
- Error 127 when compiling when dot is not in the path HOT 1
- Use Prototype from Google APIs HOT 2
- edges div-tag overlaps nodes a-tag HOT 2
- Remove global debug function from library
- Canviz does not compile in debian sid HOT 1
- I cannot make Canviz work on IE (9 or 10) and Chrome
- Support for xdot1.5? HOT 1
- Move to GitHub? HOT 3
- Feedback from first time user HOT 1
- Suggest drawing nodes after edges in class CanvizGraph
- Clearly indicate which files are required HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canviz.