Wiki
Clone wikiTree Visualization API / connectTo
Operator.js
connectTo | fill | order | reshape | rotate | scale | setStrokeColor | setStrokeWidth | slice | squarify | strip | translate |
Function connectTo
Assigns the anchor point to connect with explicit edges.
connectTo(anchorX,anchorY,condition);
Parameters
anchorX = (LEFT|RIGHT|MIDDLE) anchorY = (TOP|BOTTOM|MIDDLE) condition = optional condition if operator is to be carried out. If left out, it is assumed TRUE
Example
//Perform strip subdivision among leaves.
....
POSTLAYOUT:
{
...
connectTo(MIDDLE, TOP);
}
Updated