Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngraph.forcelayout3d

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngraph.forcelayout3d - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

index.js
/**
* 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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc