cytoscape-euler
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "cytoscape-euler", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A fast, high-quality force-directed (physics simulation) layout for Cytoscape.js", | ||
@@ -9,3 +9,3 @@ "main": "cytoscape-euler.js", | ||
"gh-pages:demo": "cpy demo.html . --rename=index.html", | ||
"gh-pages:deploy": "gh-pages -d .", | ||
"gh-pages:deploy": "gh-pages -d . -v node_modules/**", | ||
"gh-pages:clean": "rimraf index.html", | ||
@@ -12,0 +12,0 @@ "copyright": "update license", |
@@ -11,3 +11,5 @@ # cytoscape-euler | ||
It is based on cytoscape-ngraph.forcelayout, with several parts reworked and several general improvements. | ||
## Dependencies | ||
@@ -14,0 +16,0 @@ |
@@ -15,4 +15,4 @@ const assign = require('../assign'); | ||
assign( scratch, state.randomize ? { | ||
x: bb.x1 + Math.round( Math.random() * bb.w ), | ||
y: bb.y1 + Math.round( Math.random() * bb.h ) | ||
x: bb.x1 + Math.random() * bb.w, | ||
y: bb.y1 + Math.random() * bb.h | ||
} : { | ||
@@ -19,0 +19,0 @@ x: p.x, |
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
714663
36
181