It has an adaptor for d3.js that allows you to use cola as a drop-in replacement for the D3 force layout. The layout converges to a local optimum unlike the D3 force layout, which forces convergence through a simple annealing strategy. Thus, compared to D3 force layout:
- CoLa achieves higher quality layout;
- is much more stable in interactive applications (no “jitter”);
- it allows user specified constraints such as alignments and grouping;
- it can automatically generate constraints to:
- it may be less scalable to very large graphs.
However, it works well on an average machine on graphs with fewer than 100 nodes.
cola.js can now (optionally) route edges to avoid intersections with node boundaries.