Skip to content
Dracula Graph Library Experimental Fork
JavaScript
Branch: master
Clone or download
grigoryk Quick (or, rather, temporary) fix for a bug when there are two nodes,…
… and one's a parent of another - currently they will be displayed on the far left of the canvas
3
Latest commit ba51f55 Nov 26, 2010
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Curry-1.0.1.js
README
dracula_algorithms.js
dracula_graffle.js
dracula_graph.js
raphael-min.js
seedrandom.js

README

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, <grigory.kruglov@gmail.com>

Original "readme" extracted from code:


 *  Dracula Graph Layout and Drawing Framework 0.0.3alpha
 *  (c) 2010 Philipp Strathausen <strathausen@gmail.com>, http://strathausen.eu
 *
 *  based on the Graph JavaScript framework, version 0.0.1
 *  (c) 2006 Aslak Hellesoy <aslak.hellesoy@gmail.com>
 *  (c) 2006 Dave Hoover <dave.hoover@gmail.com>
 *
 *  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 E<lt>paul@jibble.orgE<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
 *
You can’t perform that action at this time.