Extends mxGraphLayout to implement a radial tree algorithm. This layout is suitable for graphs that have no cycles (trees). Vertices that are not connected to the tree will be ignored by this layout.
var layout = new mxRadialTreeLayout(graph);
Constructs a new radial tree layout for the specified graph
The initial offset to compute the angle position.
The X co-ordinate of the root cell
The Y co-ordinate of the root cell
Holds the levelDistance. Default is 120.
Holds the nodeDistance. Default is 10.
Specifies if the radios should be computed automatically
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
Array of leftmost x coordinate of each row
Array of rightmost x coordinate of each row
Array of x coordinate of leftmost vertex of each row
Array of x coordinate of rightmost vertex of each row
Array of y deltas of each row behind root vertex, also the radius in the tree
Array of vertices on each row
|mxRadialTreeLayout.prototype.isVertexIgnored = function(||vertex||)|
Returns a boolean indicating if the given mxCell should be ignored as a vertex. This returns true if the cell has no connections.
|vertex||mxCell whose ignored state should be returned.|
|mxRadialTreeLayout.prototype.execute = function(||parent,|
If the parent has any connected edges, then it is used as the root of the tree. Else, mxGraph.findTreeRoots will be used to find a suitable root node within the set of children of the given parent.
|parent||mxCell whose children should be laid out.|
|root||Optional mxCell that will be used as the root of the tree.|
|mxRadialTreeLayout.prototype.calcRowDims = function(||row,|
Recursive function to calculate the dimensions of each row
|row||Array of internal nodes, the children of which are to be processed.|
|rowNum||Integer indicating which row is being processed.|