Skip to content

News and Info about cola.js

Tim Dwyer edited this page Jan 10, 2015 · 6 revisions

10/01/2015: aspiers asked: "What is VPSC?" It stands for "Variable Placement with Separation Constraints". The VPSC problem is, for a set of positions (e.g. positions in an x- or y-axis), what are the closest positions to those given which satisfy a particular set of simple linear separation constraints? We treat this as a quadratic program and solve it with a special solver we have developed works very efficiently. More details about the VPSC problem and the solver in this paper

09/04/2014: I've made the specification of ideal linkDistance more d3 like. You can now specify either a constant ideal length for all edges or a function that returns a specific length for each edge. Here is an example for specifying different link lengths. You can also specify either a constant or per edge function for determining minimum separation for flowLayout. Since these might be breaking changes for some people, I'm now making this cola.v2.min.js.

07/04/2014: A fairly significant clean-up by bollwyvl: now uses UMD to wrap everything in the cola object. Note, if you were calling something in other "namespaces" like vpsc directly, you will now need to prefix it with cola, e.g. cola.vpsc.

13/12/2013: I've finally bundled up and minified all the various bits and pieces of WebCoLa into a single file: cola.v1.min.js. I'm calling it V1 because I think it's stable and featureful enough for others to get some use out of. See the various examples. I'm also simplifying the naming of the library to cola.js, because the capitalisation of WebCoLa is getting annoying and I think it was a bit last decade.

Clone this wiki locally