Adaptagrams
|
A cluster defines a hierarchical partitioning over the nodes which should be kept disjoint by the layout somehow. More...
#include <cluster.h>
Public Member Functions | |
virtual void | addChildNode (unsigned index) |
Mark a rectangle as being a child of this cluster. More... | |
void | addChildCluster (Cluster *cluster) |
Mark a cluster as being a sub-cluster of this cluster. More... | |
A cluster defines a hierarchical partitioning over the nodes which should be kept disjoint by the layout somehow.
You should not use this directly. This is an abstract base class.
At the top level you should be using RootCluster, and then below that either RectangualarCLuster or ConvexCluster.
void cola::Cluster::addChildCluster | ( | Cluster * | cluster | ) |
Mark a cluster as being a sub-cluster of this cluster.
[in] | cluster | The Cluster to be marked as a sub-cluster. |
Referenced by dialect::Graph::buildRootCluster().
|
virtual |
Mark a rectangle as being a child of this cluster.
[in] | index | The index of the Rectangle in the rectangles vector. |
Reimplemented in cola::RectangularCluster.
Referenced by cola::RectangularCluster::addChildNode().