cytoscape-automove
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -109,3 +109,2 @@ ;(function(){ 'use strict'; | ||
var meanNeighborhoodPosition = function( node ){ | ||
var currPos = node.position(); | ||
var nhood = node.neighborhood(); | ||
@@ -171,3 +170,3 @@ var avgPos = { x: 0, y: 0 }; | ||
return function( update, cy ){ | ||
let matches = function( ele ){ | ||
var matches = function( ele ){ | ||
// must meet ele set and be connected to more than (1 edge + 1 node) | ||
@@ -174,0 +173,0 @@ return rule.matches( ele ) && ele.neighborhood().length > 2; |
{ | ||
"name": "cytoscape-automove", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "An extension for Cytoscape.js that automatically updates node positions based on specified rules", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-automove.js", |
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
21282
393