squarifyLayout | R Documentation |
This transforms a circle-shaped network layout more into a square-shaped network layout. It does so by moving nodes in the corners more towards the corner.
squarifyLayout(x, rate = 1)
x |
A network layout matrix with 2 columns representing node x and y axis positions. |
rate |
The rate by which to move nodes into the corners, between 0 and 1. |
A network layout matrix with 2 columns representing node x and y axis positions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.