Skip to content

Commit

Permalink
Merge pull request #20 from josephst/spacingFactor
Browse files Browse the repository at this point in the history
add spacingFactor option
  • Loading branch information
maxkfranz committed May 5, 2017
2 parents f38b774 + 2f66e3d commit 5eb01cb
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 5eb01cb

Please sign in to comment.