layout-base
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
301942
40
7334
1