cytoscape-cose-bilkent
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "cytoscape-cose-bilkent", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "The CoSE layout for Cytoscape.js by Bilkent", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -270,6 +270,12 @@ 'use strict'; | ||
*/ | ||
if(this.options.animate !== 'during'){ | ||
if(this.options.animate == 'end'){ | ||
setTimeout(function() { | ||
self.options.eles.nodes().not(":parent").layoutPositions(self, self.options, getPositions); // Use layout positions to reposition the nodes it considers the options parameter | ||
ready = false; | ||
}, 0); | ||
} | ||
else if(this.options.animate == 'false'){ | ||
self.options.eles.nodes().not(":parent").layoutPositions(self, self.options, getPositions); // Use layout positions to reposition the nodes it considers the options parameter | ||
ready = false; | ||
} | ||
@@ -276,0 +282,0 @@ return this; // chaining |
Sorry, the diff of this file is too big to display
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
600511
9858