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

cytoscape-automove

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cytoscape-automove - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

3

cytoscape-automove.js

@@ -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",

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