53 : m_pH(&H), m_pACG(&
ACG), m_x(H, 0), m_y(H, 0) { }
73 const double&
x(
node v)
const {
return m_x[v]; }
76 double&
x(
node v) {
return m_x[v]; }
79 const double&
y(
node v)
const {
return m_y[v]; }
82 double&
y(
node v) {
return m_y[v]; }
Declares ClusterGraphAttributes, an extension of class GraphAttributes, to store clustergraph layout ...
Declaration of ExtendedNestingGraph.
Representation of clusters in a clustered graph.
Stores additional attributes of a clustered graph (like layout information).
double x(cluster c) const
Returns the x-position of cluster c's cage (lower left corner).
double width(cluster c) const
Returns the width of cluster c.
double y(cluster c) const
Returns the y-position of cluster c's cage (lower left corner).
double height(cluster c) const
Returns the height of cluster c.
Manages access on copy of an attributed clustered graph.
double & y(node v)
Returns reference to y-coord. of node v.
ClusterGraphAttributes * m_pACG
double bottom(cluster cOrig) const
Returns coordinate of lower cluster boundary of original cluster cOrig.
void setClusterLeftRight(cluster cOrig, double left, double right)
double getWidth(node v) const
Returns width of node v.
const double & x(node v) const
Returns reference to x-coord. of node v.
ClusterGraphCopyAttributes(const ExtendedNestingGraph &H, ClusterGraphAttributes &ACG)
Initializes instance of class ClusterGraphCopyAttributes.
void setClusterTopBottom(cluster cOrig, double top, double bottom)
double & x(node v)
Returns reference to x-coord. of node v.
double top(cluster cOrig) const
Returns coordinate of upper cluster boundary of original cluster cOrig.
~ClusterGraphCopyAttributes()
void transform()
Sets attributes for the original graph in attributed graph.
const ClusterGraphAttributes & getClusterGraphAttributes() const
Returns corresponding ClusterGraphAttributes.
const double & y(node v) const
Returns reference to y-coord. of node v.
const ExtendedNestingGraph * m_pH
double getHeight(node v) const
Returns height of node v.
void setClusterRect(cluster cOrig, double left, double right, double top, double bottom)
Sets the position of the cluster rectangle for original cluster cOrig.
node origNode(node v) const
Dynamic arrays indexed with nodes.
Class for the representation of nodes.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.