cola.js home
Packing of Disconnected Components
When the input graph is made up of a number of disconnected components, cola.js will attempt to pack them into a space with a roughly uniform aspect ratio.
To turn this behavior off, invoke: cola.handleDisconnected(false)
. Packing algorithm contributed by Maxim Shishmarev.