ngraph.forcelayout3d
Advanced tools
Comparing version 0.0.5 to 0.0.6
/** | ||
* This module provides all required forces to regular ngraph.physics.simulator | ||
* to make it 3d simulator. Ideally ngraph.phoysics.simulator should operate | ||
* to make it 3D simulator. Ideally ngraph.physics.simulator should operate | ||
* with vectors, but on practices that showed performance decrease... Maybe | ||
@@ -13,3 +13,3 @@ * I was doing it wrong, will see if I can refactor/throw away this module. | ||
var merge = require('ngraph.merge'); | ||
var physicsSettings = merge(physicsSettings, { | ||
physicsSettings = merge(physicsSettings, { | ||
createQuadTree: require('ngraph.quadtreebh3d'), | ||
@@ -16,0 +16,0 @@ createBounds: require('./lib/bounds'), |
@@ -44,4 +44,3 @@ /** | ||
// TODO: this is not accurate. Total value should be absolute | ||
tx += dx; ty += dy; tz += dz; | ||
tx += Math.abs(dx); ty += Math.abs(dy); tz += Math.abs(dz); | ||
} | ||
@@ -48,0 +47,0 @@ |
{ | ||
"name": "ngraph.forcelayout3d", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Force directed graph layout in 3d", | ||
@@ -23,4 +23,4 @@ "main": "index.js", | ||
"tap": "~0.4.8", | ||
"ngraph.generators": "0.0.3", | ||
"ngraph.graph": "~0.0.3" | ||
"ngraph.generators": "0.0.11", | ||
"ngraph.graph": "0.0.6" | ||
}, | ||
@@ -33,5 +33,5 @@ "dependencies": { | ||
"ngraph.physics.primitives": "0.0.7", | ||
"ngraph.physics.simulator": "0.0.8", | ||
"ngraph.forcelayout": "0.0.12" | ||
"ngraph.physics.simulator": "0.0.9", | ||
"ngraph.forcelayout": "0.0.15" | ||
} | ||
} |
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
109397
2747
+ Addedngraph.forcelayout@0.0.15(transitive)
+ Addedngraph.physics.simulator@0.0.9(transitive)
+ Addedvarta@0.1.1(transitive)
- Removedngraph.forcelayout@0.0.12(transitive)
- Removedngraph.physics.simulator@0.0.8(transitive)
Updatedngraph.forcelayout@0.0.15