|Posted by kyle on October 12, 2006 11:51 PM||bookmark / share:|
JSViz 0.3.1 is now available. This release includes many enhancements to Force Directed Graphs and a new, simpler API. A new Tree Graph implementation will be available shortly.
So let's see it in action!
Tomorrow I'll post a tutorial on how to make this demo:
What about the source?
The source is available under a Creative Commons Attribution License. Here are the source files for browsing. I'll provide a single file distribution shortly.
|DataGraph.js||Defines the nodes and relationships in our model..|
|ParticleModel.js||The physical model used to position particles.|
|Magnet.js||An attractive or repulsive force between particles.|
|Spring.js||A spring force between particles.|
|Timer.js||The animation timer.|
|EventHandler.js||An event handler factory.|
|HTMLGraphView.js||A view of the model constructed with HTML.|
|SVGGraphView.js||A view of the model constructed with SVG.|
|RungeKuttaIntegrator.js||Performs fast and accurate approximation of differential equations.|
|Control.js||A simple template for event handlers in your user interface.|