LayoutVisitor is used to position a tree of objects on a plane (the objects must implement the getParent()).
It uses a simple algorithm that positions the objects on a discrete array with distance 1 so that all leaves are equal distant from their neighbours. The positions are stored in a map that is provided by the getMap() method.
|Public Member Functions inherited from Visitor|
|startIterator (NodeIterator $iterator)|
|const||MAPTYPE_HORIZONTAL = 0|
|const||MAPTYPE_VERTICAL = 1|
Constructor & Destructor Documentation
Member Function Documentation