cytoscape-cose-bilkent
Advanced tools
Comparing version 1.6.14 to 1.6.15
{ | ||
"name": "cytoscape-cose-bilkent", | ||
"version": "1.6.14", | ||
"version": "1.6.15", | ||
"description": "The CoSE layout for Cytoscape.js by Bilkent", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
cytoscape-cose-bilkent | ||
================================================================================ | ||
[![DOI](https://zenodo.org/badge/42200589.svg)](https://zenodo.org/badge/latestdoi/42200589) | ||
## Description | ||
@@ -65,7 +65,7 @@ | ||
nodeRepulsion: 4500, | ||
// Ideal edge (non nested) length | ||
// Ideal (intra-graph) edge length | ||
idealEdgeLength: 50, | ||
// Divisor to compute edge forces | ||
edgeElasticity: 0.45, | ||
// Nesting factor (multiplier) to compute ideal edge length for nested edges | ||
// Nesting factor (multiplier) to compute ideal edge length for inter-graph edges | ||
nestingFactor: 0.1, | ||
@@ -76,9 +76,9 @@ // Gravity force (constant) | ||
numIter: 2500, | ||
// For enabling tiling | ||
// Whether to tile disconnected nodes | ||
tile: true, | ||
// Type of layout animation. The option set is {'during', 'end', false} | ||
animate: 'end', | ||
// Represents the amount of the vertical space to put between the zero degree members during the tiling operation(can also be a function) | ||
// Amount of vertical space to put between degree zero nodes during tiling (can also be a function) | ||
tilingPaddingVertical: 10, | ||
// Represents the amount of the horizontal space to put between the zero degree members during the tiling operation(can also be a function) | ||
// Amount of horizontal space to put between degree zero nodes during tiling (can also be a function) | ||
tilingPaddingHorizontal: 10, | ||
@@ -104,1 +104,2 @@ // Gravity range (constant) for compounds | ||
1. If publishing to bower for the first time, you'll need to run `bower register cytoscape-cose-bilkent https://github.com/cytoscape/cytoscape.js-cose-bilkent.git` | ||
1. Make a release on GitHub to automatically register a new Zenodo DOI |
@@ -149,3 +149,5 @@ var LayoutConstants = require('./LayoutConstants'); | ||
// Propagate geometric changes to v-level objects | ||
this.transform(); | ||
if(!this.incremental){ | ||
this.transform(); | ||
} | ||
this.update(); | ||
@@ -152,0 +154,0 @@ }; |
Sorry, the diff of this file is too big to display
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
596376
47
9789
103