|
@@ -23,7 +23,7 @@
|
|
|
* graph - <mxGraph> that contains the cells.
|
|
|
*
|
|
|
**/
|
|
|
-function mxWebColaLayout(graph, layoutType)
|
|
|
+function mxWebColaLayout(graph)
|
|
|
/**
|
|
|
* Constructs a WebCola-based layout
|
|
|
* @param graph <mxGraph> that contains the cells.
|
|
@@ -31,14 +31,11 @@ function mxWebColaLayout(graph, layoutType)
|
|
|
*/
|
|
|
{
|
|
|
mxGraphLayout.call(this, graph);
|
|
|
- this.layoutType = layoutType;
|
|
|
};
|
|
|
|
|
|
mxWebColaLayout.prototype = new mxGraphLayout();
|
|
|
mxWebColaLayout.prototype.constructor = mxWebColaLayout;
|
|
|
|
|
|
-mxWebColaLayout.prototype.layoutType = null;
|
|
|
-
|
|
|
mxWebColaLayout.prototype.execute = function(parent)
|
|
|
/**
|
|
|
* Runs re-layouting of the portion of a graph from a given starting cell
|