Skip to content

Commit

Permalink
add spacingFactor option
Browse files Browse the repository at this point in the history
accompanies PR #1673 in cytoscape.js (for 3.1 release)
  • Loading branch information
Joseph Stahl committed Jan 21, 2017
1 parent 7f0e669 commit 2f66e3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cytoscape-dagre.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ SOFTWARE.
// general layout options
fit: true, // whether to fit to viewport
padding: 30, // fit padding
spacingFactor: undefined, // Applies a multiplicative factor (>0) to expand or compress the overall area that the nodes take up
animate: false, // whether to transition the node positions
animationDuration: 500, // duration of animation in ms if enabled
animationEasing: undefined, // easing of animation if enabled
Expand Down

0 comments on commit 2f66e3d

Please sign in to comment.