Graph Dracula - a JavaScript Graph Library
Graph Dracula is a set of tools to display and layout interactive graphs, along with various related algorithms.
Based on 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.
-
install the dependencies:
npm install --save graphdracula raphael
or jspm install npm:graphdracula
-
create an html file with a tag having the ID
paper
. -
require graphdracula (via browserify or webpack):
var Dracula = var Graph = DraculaGraphvar Renderer = DraculaRendererRaphaelvar Layout = DraculaLayoutSpring var graph = graphgraphgraphgraphgraph var layout = graphvar renderer = '#paper' graph 400 300renderer
How To Develop
git clone git@github.com:strathausen/dracula.git
cd dracula
npm install
npm start
Point your browser to one of examples in examples/
.