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. |
Particle.js | |
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. |
Comments
Do you publish the tutorial of how to make this demo? (JSViz 0.3.1)
in your web page it says tomorrow but it look like the last post is from the 12 of October
Posted by: Yaeli | December 31, 2006 6:50 AM
Where is the DOMFDController or other Controller?
Posted by: yourFan | January 1, 2007 8:45 AM
Kyle has made a terrific library here. This saved us heaps of time and effort. Even better, he's made the whole thing free and open source, which is really very generous.
You can see how we've put his library to use at http://www.scribd.com/categories/viz
Posted by: Jared | January 6, 2007 6:25 AM
Yaeli, A tutorial on creating this demo is available here:
http://www.kylescholz.com/blog/2006/10/building_a_force_directed_graph_from_xml.html
Have fun!
Posted by: Kyle Scholz | January 7, 2007 3:16 PM
yourFan, JSViz 0.3.1 doesn't have a DOMFDController. I had intended for users to work with the components directly, but I've received a lot of request to put these helper classes back in. I'll be releasing an update in the next week or so that introduces "Layout" classes that enable quick implementation of simple graphs while keeping the rest of the 0.3 APIs intact for advanced applications.
Posted by: Kyle Scholz | January 7, 2007 3:20 PM
Jared, Thanks for sharing! I'm putting up a new project site soon and will include your link in our "JSViz Gallery".
Posted by: Kyle Scholz | January 7, 2007 3:22 PM