Density function for a directed graph by default.

Extended the function to give density for a directed graph (since the library usually creates directed graphs. If specifically needed the a true value can be passed to the function which will return the value for an undirected graph.
stupid mistake

corrected the stupid mistake.
Implement center on position when using WebGL rendering
Merge pull request #72 from sgerard/feature-webgl-center

Implement center on position when using WebGL rendering
0.5.4

Thanks to sgerard@ webgl now supports centering on node via API
Updated readme
Update README.md
0.5.4
make the stable threshold a setting so it is configurable per usage
Merge pull request #73 from grnadav/globalNodeDecoupling

make the stable threshold a setting so it is configurable per usage
0.5.5
Fixed for existing clients and commented in jsdoc format
Merge pull request #68 from sbmkvp/patch-1

Density function for a directed graph by default.
Constant layout returns stable after first iteration
Merge branch 'master' of github.com:anvaka/VivaGraphJS
Using Object.create instead of {}

Firefox has methods like `watch` on each object, which gives
odd results when your node id is `watch`.
Fixed `constant layout not initialized`

https://github.com/anvaka/VivaGraphJS/issues/74
0.5.6
0.5.6
Making linter happier