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

layout-base

Package Overview
Dependencies
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

layout-base - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

nbproject/private/private.properties

2

package.json
{
"name": "layout-base",
"version": "1.0.1",
"version": "1.0.2",
"description": "Basic layout model and some utilities for Cytoscape.js layout extensions",

@@ -5,0 +5,0 @@ "main": "layout-base.js",

@@ -218,3 +218,6 @@ var Layout = require('../Layout');

length = edge.getLength();
if(length == 0)
return;
// Calculate spring forces

@@ -221,0 +224,0 @@ springForce = this.springConstant * (length - idealLength);

function RandomSeed() {
}
// adapted from: https://stackoverflow.com/a/19303725
RandomSeed.seed = 1;

@@ -4,0 +5,0 @@ RandomSeed.x = 0;

Sorry, the diff of this file is too big to display

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