cytoscape-fcose
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -269,3 +269,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
currentNode.neighborhood().nodes().forEach(function (node) { | ||
if (eles.contains(currentNode.edgesWith(node))) { | ||
if (eles.anySame(currentNode.edgesWith(node))) { | ||
neighborNodes.merge(node); | ||
@@ -1277,3 +1277,3 @@ } | ||
ele.neighborhood().nodes().forEach(function (node) { | ||
if (eles.contains(ele.edgesWith(node))) { | ||
if (eles.anySame(ele.edgesWith(node))) { | ||
if (node.isParent()) allNodesNeighborhood[eleIndex].push(parentChildMap.get(node.id()));else allNodesNeighborhood[eleIndex].push(node.id()); | ||
@@ -1280,0 +1280,0 @@ } |
{ | ||
"name": "cytoscape-fcose", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "The fCoSE layout for Cytoscape.js by Bilkent with fast compound node placement", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-fcose.js", |
@@ -17,2 +17,4 @@ cytoscape-fcose | ||
<p align="center"><img src="demo.gif" width="480"></p> | ||
## Dependencies | ||
@@ -67,3 +69,3 @@ | ||
<script src="https://unpkg.com/cose-base/cose-base.js"></script> | ||
<script src="cytoscape-fcose.js"></script> | ||
<script src="https://unpkg.com/cytoscape-fcose/cytoscape-fcose.js"></script> | ||
``` | ||
@@ -70,0 +72,0 @@ |
@@ -178,3 +178,3 @@ /* | ||
currentNode.neighborhood().nodes().forEach(function(node){ | ||
if(eles.contains(currentNode.edgesWith(node))){ | ||
if(eles.anySame(currentNode.edgesWith(node))){ | ||
neighborNodes.merge(node); | ||
@@ -181,0 +181,0 @@ } |
@@ -347,3 +347,3 @@ /** | ||
ele.neighborhood().nodes().forEach(function(node){ | ||
if(eles.contains(ele.edgesWith(node))){ | ||
if(eles.anySame(ele.edgesWith(node))){ | ||
if(node.isParent()) | ||
@@ -350,0 +350,0 @@ allNodesNeighborhood[eleIndex].push(parentChildMap.get(node.id())); |
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
4770152
19
177