Please see the official home page for usage examples: http://www.graphdracula.net/
This fork adds Tree Layout mode. It is intended for drawing Directed Graphs.
After building a directed graph "g", perform tree layout like this:
var layouter = new Graph.Layout.Tree(g);
layouter.layout();
(c) 2010 Grigory Kruglov, [email protected]
Original "readme" extracted from code:
- Dracula Graph Layout and Drawing Framework 0.0.3alpha
- (c) 2010 Philipp Strathausen [email protected], http://strathausen.eu
-
- based on the Graph JavaScript framework, version 0.0.1
- (c) 2006 Aslak Hellesoy [email protected]
- (c) 2006 Dave Hoover [email protected]
-
- Ported from Graph::Layouter::Spring in
- http://search.cpan.org/~pasky/Graph-Layderer-0.02/
- The algorithm is based on a spring-style layouter of a Java-based social
- network tracker PieSpy written by Paul Mutton Elt>[email protected]<gt.
-
- This code is freely distributable under the terms of an MIT-style license.
- For details, see the Graph web site: http://dev.buildpatternd.com/trac
-
- Links:
-
- Graph Dracula JavaScript Framework:
- http://graphdracula.net
-
- Demo of the original applet:
- http://redsquirrel.com/dave/work/webdep/
-
- Mirrored original source code at snipplr:
- http://snipplr.com/view/1950/graph-javascript-framework-version-001/
-
- Original usage example:
- http://ajaxian.com/archives/new-javascriptcanvas-graph-library
-