ngraph.three
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -6,3 +6,3 @@ var THREE = require('three'); | ||
settings = merge(settings, { | ||
interactive: false | ||
interactive: true | ||
}); | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "ngraph.three", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "3D graph rendered powered by three.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,2 +5,19 @@ # ngraph.three | ||
# usage | ||
Basic usage: | ||
``` | ||
// Create graph: | ||
var createGraph = require('ngraph.graph'); | ||
var graph = createGraph(); | ||
graph.addLink(1, 2); | ||
// And render it | ||
var createThree = require('ngraph.three'); | ||
var graphics = createThree(graph); | ||
graphics.run(); // begin animation loop | ||
``` | ||
# examples | ||
@@ -7,0 +24,0 @@ Many examples are available in [ngraph](https://github.com/anvaka/ngraph/tree/master/examples/three.js) repository |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1250353
36