Skip to content

Commit

Permalink
Add functionality for packing disconnected components #6
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanbalci committed Oct 2, 2019
1 parent 7b77a3e commit 75942e3
Show file tree
Hide file tree
Showing 7 changed files with 781 additions and 549 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ A. Civril, M. Magdon-Ismail, and E. Bocek-Rivele, "[SSDE: Fast Graph Drawing Usi
* Cytoscape.js ^3.2.0
* numeric.js ^1.2.6
* cose-base ^1.0.0
* cytoscape-layout-utilities.js (optional/for packing disconnected components) ^1.0.1


## Usage instructions
Expand Down Expand Up @@ -93,6 +94,8 @@ var defaultOptions = {
padding: 10,
// whether to include labels in node dimensions. Valid in "proof" quality
nodeDimensionsIncludeLabels: false,
// whether to pack disconnected components - valid only if randomize: true
packComponents: true,

/* spectral layout options */

Expand Down
Loading

0 comments on commit 75942e3

Please sign in to comment.