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.11 to 0.0.12

6

index.js

@@ -8,5 +8,5 @@ /**

module.exports = createLayout;
createLayout.get2dLayout = require('ngraph.forcelayout');
function createLayout(graph, physicsSettings) {
var createForceLayout = require('ngraph.forcelayout');
var merge = require('ngraph.merge');

@@ -22,5 +22,3 @@ physicsSettings = merge(physicsSettings, {

var layout = createForceLayout(graph, physicsSettings);
return layout;
return createLayout.get2dLayout(graph, physicsSettings);
}
{
"name": "ngraph.forcelayout3d",
"version": "0.0.11",
"version": "0.0.12",
"description": "Force directed graph layout in 3d",

@@ -5,0 +5,0 @@ "main": "index.js",

var test = require('tap').test,
createBody = require('../lib/createBody'),
createGraph = require('ngraph.graph'),
createLayout = require('..');
test('it exposes 2d layout', function(t) {
t.ok(typeof createLayout.get2dLayout === 'function', '2d layout constructor is exposed');
t.end();
});
test('does not tolerate bad input', function (t) {

@@ -7,0 +11,0 @@ t.throws(missingGraph);

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