Baseclasses
Definition
A cluster graph grid layout cggl extends its base class GridLayout by functions to store the additional coordinates for the position of the cluster regions.
#include < AGD/CGGridLayout.h >
Creation
CGGridLayout | cggl | creates an instance cggl of type CGGridLayout initialized to the empty layout with no associated graph. |
CGGridLayout | cggl(const ClusterGraph& GC) | |
creates an instance cggl of type CGGridLayout initialized to a grid layout for cluster graph CG. Initially, all x- and y-coordinates are 0, all nodes have width and height 0, and all bend point lists are empty. |
Operations
const ClusterGraph& | cggl.get_graph() | returns the associated cluster graph. |
const int& | cggl.x(Cluster* cl) | returns a reference to the x-coordinate of cluster cl. |
const int& | cggl.y(Cluster* cl) | returns a reference to the y-coordinate of cluster cl. |
const int& | cggl.width(Cluster* cl) | returns a reference to the width of cluster cl. |
const int& | cggl.height(Cluster* cl) | returns a reference to the height of cluster cl. |
void | cggl.x(Cluster* cl, int x) | |
sets the x-coordinate of cluster cl to x. | ||
void | cggl.y(Cluster* cl, int y) | |
sets the y-coordinate of cluster cl to y. | ||
void | cggl.width(Cluster* cl, int width) | |
sets the height of cluster cl to height. | ||
void | cggl.height(Cluster* cl, int height) | |
sets the width of cluster cl to width. |
© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13