Skip to content
This repository

JavaScript browser based layout and representation of connected graphs.

branch: master
README.md

build status

Graph Dracula - a JavaScript Graph Library

Graph Dracula is a set of tools to display and layout interactive graphs, along with various related algorithms.

No Flash, no Java, no plug-ins. Just plain JavaScript and SVG.

The code is released under the MIT license, so commercial use is not a problem.

Creating a graph is simple! You can also customise anything easily.

The code looks like this:

var g = new Graph();

g.addEdge('strawberry', 'cherry');

var layouter = new Graph.Layout.Spring();
layouter.layout();

var renderer = new Graph.Renderer.Raphael('#canvas', g, 400, 300);
renderer.draw();

Contributors

Thanks to these people for contributing.

Have I forgot anybody? Write me! strathausen-at-gmail-dot-com

Something went wrong with that request. Please try again.