cytoscape-automove
Advanced tools
Comparing version 1.6.0 to 1.6.1
(function(){ 'use strict'; | ||
/* eslint-disable no-unused-vars */ | ||
var defaults = { | ||
@@ -58,2 +60,4 @@ // specify nodes that should be automoved with one of | ||
/* eslint-enable */ | ||
var typeofStr = typeof ''; | ||
@@ -187,2 +191,7 @@ var typeofObj = typeof {}; | ||
// the position should remain unchanged if we would stack the nodes on top of each other | ||
if( nhoodSize < 2 ){ | ||
return undefined; | ||
} | ||
avgPos.x /= nhoodSize; | ||
@@ -189,0 +198,0 @@ avgPos.y /= nhoodSize; |
var gulp = require('gulp'); | ||
var path = require('path'); | ||
var replace = require('gulp-replace'); | ||
var child_process = require('child_process'); | ||
var fs = require('fs'); | ||
var shell = require('gulp-shell'); | ||
var jshint = require('gulp-jshint'); | ||
var jshStylish = require('jshint-stylish'); | ||
var exec = require('child_process').exec; | ||
@@ -10,0 +5,0 @@ var runSequence = require('run-sequence'); |
{ | ||
"name": "cytoscape-automove", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "An extension for Cytoscape.js that automatically updates node positions based on specified rules", | ||
"main": "cytoscape-automove.js", | ||
"scripts": { | ||
"publish": "gulp publish", | ||
"lint": "eslint cytoscape-automove.js", | ||
@@ -30,7 +29,5 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"gulp": "^3.8.8", | ||
"gulp-jshint": "^1.8.5", | ||
"gulp-prompt": "^0.1.1", | ||
"gulp-replace": "^0.4.0", | ||
"gulp-shell": "^0.2.9", | ||
"jshint-stylish": "^1.0.0", | ||
"run-sequence": "^1.0.0" | ||
@@ -37,0 +34,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
29975
9
10
478
1
1