Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

ogdf::ClusterGraphAttributes Class Reference

Stores additional attributes of a clustered graph (like layout information). More...

#include <ogdf/cluster/ClusterGraphAttributes.h>

+ Inheritance diagram for ogdf::ClusterGraphAttributes:

Public Member Functions

Construction and management of attributes
 ClusterGraphAttributes ()
 Constructs cluster graph attributes for no associated graph. More...
 
 ClusterGraphAttributes (ClusterGraph &cg, long initAttributes=0)
 Constructs cluster graph attributes for cluster graph cg with attributes initAttributes. More...
 
virtual ~ClusterGraphAttributes ()
 
virtual void init (ClusterGraph &cg, long initAttributes=0)
 Initializes the cluster graph attributes for cluster graph cg with attributes initAttributes. More...
 
virtual void init (const Graph &, long) override
 Forbidden initialization, use init(ClusterGraph &cg, long initAttributes) instead! More...
 
virtual void initAtt (long initAttributes=0)
 Initializes the attributes according to initAttributes. More...
 
const ClusterGraph & constClusterGraph () const
 Returns the associated cluster graph. More...
 
Cluster attributes
double x (cluster c) const
 Returns the x-position of cluster c's cage (lower left corner). More...
 
double & x (cluster c)
 Returns the x-position of cluster c's cage (lower left corner). More...
 
double y (cluster c) const
 Returns the y-position of cluster c's cage (lower left corner). More...
 
double & y (cluster c)
 Returns the y-position of cluster c's cage (lower left corner). More...
 
double width (cluster c) const
 Returns the width of cluster c. More...
 
double & width (cluster c)
 Returns the width of cluster c. More...
 
double height (cluster c) const
 Returns the height of cluster c. More...
 
double & height (cluster c)
 Returns the height of cluster c. More...
 
StrokeType strokeType (cluster c) const
 Returns the stroke type of cluster c. More...
 
void setStrokeType (cluster c, StrokeType st)
 Sets the stroke type of cluster c to st. More...
 
const Color & strokeColor (cluster c) const
 Returns the stroke color of cluster c. More...
 
Color & strokeColor (cluster c)
 Returns the stroke color of cluster c. More...
 
const float & strokeWidth (cluster c) const
 Returns the stroke width of cluster c. More...
 
float & strokeWidth (cluster c)
 Returns the stroke width of cluster c. More...
 
FillPattern fillPattern (cluster c) const
 Returns the fill pattern of cluster c. More...
 
void setFillPattern (cluster c, FillPattern fp)
 Sets the fill pattern of cluster c to fp. More...
 
const Color & fillColor (cluster c) const
 Returns the fill color of cluster c. More...
 
Color & fillColor (cluster c)
 Returns the fill color of cluster c. More...
 
const Color & fillBgColor (cluster c) const
 Returns the background color of fill patterns for cluster c. More...
 
Color & fillBgColor (cluster c)
 Returns the background color of fill patterns for cluster c. More...
 
const string & label (cluster c) const
 Returns the label of cluster c. More...
 
string & label (cluster c)
 Returns the label of cluster c. More...
 
const string & templateCluster (cluster c) const
 Returns the template of cluster c. More...
 
string & templateCluster (cluster c)
 Returns the template of cluster c. More...
 
const ClusterInfo & clusterInfo (cluster c) const
 Returns the cluster info structure of cluster c. More...
 
ClusterInfo & clusterInfo (cluster c)
 Returns the cluster info structure of cluster c. More...
 
Layout transformations
virtual void scale (double sx, double sy, bool scaleNodes=true) override
 Scales the layout by (sx,sy). More...
 
virtual void translate (double dx, double dy) override
 Translates the layout by (dx,dy). More...
 
virtual void flipVertical (const DRect &box) override
 Flips the (whole) layout vertically such that the part in box remains in this area. More...
 
virtual void flipHorizontal (const DRect &box) override
 Flips the (whole) layout horizontally such that the part in box remains in this area. More...
 
Utility functions
virtual DRect boundingBox () const override
 Returns the bounding box of the layout. More...
 
void updateClusterPositions (double boundaryDist=1.0)
 Updates positions of cluster boundaries wrt to children and child clusters. More...
 
cluster clusterOf (node v)
 Returns the parent cluster of node v. More...
 
- Public Member Functions inherited from ogdf::GraphAttributes
 GraphAttributes ()
 Constructs graph attributes for no associated graph (default constructor). More...
 
 GraphAttributes (const Graph &G, long attr=nodeGraphics|edgeGraphics)
 Constructs graph attributes associated with the graph G. More...
 
virtual ~GraphAttributes ()
 
long attributes () const
 Returns currently accessible attributes. More...
 
bool has (long attr) const
 Returns true iff all attributes in attr are available. More...
 
void init (long attr)
 Re-initializes the graph attributes while maintaining the associated graph. More...
 
void addAttributes (long attr)
 Enables attributes specified by attr and allocates required memory. More...
 
void destroyAttributes (long attr)
 Disables attributes specified by attr and releases available memory. More...
 
const Graph & constGraph () const
 Returns a reference to the associated graph. More...
 
bool directed () const
 Returns if the graph is directed. More...
 
bool & directed ()
 Returns if the graph is directed. More...
 
double x (node v) const
 Returns the x-coordinate of node v. More...
 
double & x (node v)
 Returns the x-coordinate of node v. More...
 
double y (node v) const
 Returns the y-coordinate of node v. More...
 
double & y (node v)
 Returns the y-coordinate of node v. More...
 
double z (node v) const
 Returns the z-coordinate of node v. More...
 
double & z (node v)
 Returns the z-coordinate of node v. More...
 
double xLabel (node v) const
 Returns the label x-coordinate of node v. More...
 
double & xLabel (node v)
 Returns the label x-coordinate of node v. More...
 
double yLabel (node v) const
 Returns the label y-coordinate of node v. More...
 
double & yLabel (node v)
 Returns the label y-coordinate of node v. More...
 
double zLabel (node v) const
 Returns the label z-coordinate of node v. More...
 
double & zLabel (node v)
 Returns the label z-coordinate of node v. More...
 
double width (node v) const
 Returns the width of the bounding box of node v. More...
 
double & width (node v)
 Returns the width of the bounding box of node v. More...
 
const NodeArray< double > & width () const
 Returns a reference to the node array m_width. More...
 
NodeArray< double > & width ()
 Returns a reference to the node array #m_width. More...
 
double height (node v) const
 Returns the height of the bounding box of node v. More...
 
double & height (node v)
 Returns the height of the bounding box of node v. More...
 
const NodeArray< double > & height () const
 Returns a reference to the node array m_height. More...
 
NodeArray< double > & height ()
 Returns a reference to the node array m_height. More...
 
Shape shape (node v) const
 Returns the shape type of node v. More...
 
Shape & shape (node v)
 Returns the shape type of node v. More...
 
StrokeType strokeType (node v) const
 Returns the stroke type of node v. More...
 
StrokeType & strokeType (node v)
 Returns the stroke type of node v. More...
 
const Color & strokeColor (node v) const
 Returns the stroke color of node v. More...
 
Color & strokeColor (node v)
 Returns the stroke color of node v. More...
 
float strokeWidth (node v) const
 Returns the stroke width of node v. More...
 
float & strokeWidth (node v)
 Returns the stroke width of node v. More...
 
FillPattern fillPattern (node v) const
 Returns the fill pattern of node v. More...
 
FillPattern & fillPattern (node v)
 Returns the fill pattern of node v. More...
 
const Color & fillColor (node v) const
 Returns the fill color of node v. More...
 
Color & fillColor (node v)
 Returns the fill color of node v. More...
 
const Color & fillBgColor (node v) const
 Returns the background color of fill patterns for node v. More...
 
Color & fillBgColor (node v)
 Returns the background color of fill patterns for node v. More...
 
const string & label (node v) const
 Returns the label of node v. More...
 
string & label (node v)
 Returns the label of node v. More...
 
const string & templateNode (node v) const
 Returns the template name of node v. More...
 
string & templateNode (node v)
 Returns the template name of node v. More...
 
int weight (node v) const
 Returns the weight of node v. More...
 
int & weight (node v)
 Returns the weight of node v. More...
 
Graph::NodeType type (node v) const
 Returns the type of node v. More...
 
Graph::NodeType & type (node v)
 Returns the type of node v. More...
 
int idNode (node v) const
 Returns the user ID of node v. More...
 
int & idNode (node v)
 Returns the user ID of node v. More...
 
const DPolyline & bends (edge e) const
 Returns the list of bend points of edge e. More...
 
DPolyline & bends (edge e)
 Returns the list of bend points of edge e. More...
 
EdgeArrow arrowType (edge e) const
 Returns the arrow type of edge e. More...
 
EdgeArrow & arrowType (edge e)
 Returns the arrow type of edge e. More...
 
StrokeType strokeType (edge e) const
 Returns the stroke type of edge e. More...
 
StrokeType & strokeType (edge e)
 Returns the stroke type of edge e. More...
 
const Color & strokeColor (edge e) const
 Returns the stroke color of edge e. More...
 
Color & strokeColor (edge e)
 Returns the stroke color of edge e. More...
 
float strokeWidth (edge e) const
 Returns the stroke width of edge e. More...
 
float & strokeWidth (edge e)
 Returns the stroke width of edge e. More...
 
const string & label (edge e) const
 Returns the label of edge e. More...
 
string & label (edge e)
 Returns the label of edge e. More...
 
int intWeight (edge e) const
 Returns the (integer) weight of edge e. More...
 
int & intWeight (edge e)
 Returns the (integer) weight of edge e. More...
 
double doubleWeight (edge e) const
 Returns the (real number) weight of edge e. More...
 
double & doubleWeight (edge e)
 Returns the (real number) weight of edge e. More...
 
Graph::EdgeType type (edge e) const
 Returns the type of edge e. More...
 
Graph::EdgeType & type (edge e)
 Returns the type of edge e. More...
 
uint32_t subGraphBits (edge e) const
 Returns the edgesubgraph value of an edge e. More...
 
uint32_t & subGraphBits (edge e)
 Returns the edgesubgraph value of an edge e. More...
 
bool inSubGraph (edge e, int n) const
 Checks whether edge e belongs to basic graph n. More...
 
void addSubGraph (edge e, int n)
 Adds edge e to basic graph n. More...
 
void removeSubGraph (edge e, int n)
 Removes edge e from basic graph n. More...
 
virtual void scale (double s, bool scaleNodes=true)
 Scales the layout by s. More...
 
virtual void translateToNonNeg ()
 Translates the layout such that the lower left corner is at (0,0). More...
 
virtual void flipVertical ()
 Flips the layout vertically within its bounding box. More...
 
virtual void flipHorizontal ()
 Flips the layout horizontally within its bounding box. More...
 
virtual void scaleAndTranslate (double sx, double sy, double dx, double dy, bool scaleNodes=true)
 Scales the layout by (sx,sy) and then translates it by (dx,dy). More...
 
virtual void scaleAndTranslate (double s, double dx, double dy, bool scaleNodes=true)
 Scales the layout by s and then translates it by (dx,dy). More...
 
virtual void rotateRight90 ()
 Rotates the layout by 90 degree (in clockwise direction) around the origin. More...
 
virtual void rotateLeft90 ()
 Rotates the layout by 90 degree (in counter-clockwise direction) around the origin. More...
 
void setAllWidth (double w)
 Sets the width of all nodes to w. More...
 
void setAllHeight (double h)
 Sets the height of all nodes to h. More...
 
void clearAllBends ()
 Removes all edge bends. More...
 
void removeUnnecessaryBendsHV ()
 Removes unnecessary bend points in orthogonal segements. More...
 
void addNodeCenter2Bends (int mode=1)
 Adds additional bend points to all edges for connecting their endpoints. More...
 
bool isAssociationClass (node v) const
 Returns true iff v represents an association class. More...
 
int hierarchyList (List< List< node > *> &list) const
 Returns a list of all inheritance hierarchies in the graph. More...
 
int hierarchyList (List< List< edge > *> &list) const
 Returns a list of all inheritance hierarchies in the graph. More...
 

Private Attributes

ClusterArray< ClusterInfo > m_clusterInfo
 cluster attributes More...
 
ClusterArray< string > m_clusterTemplate
 Name of cluster template. More...
 
const ClusterGraph * m_pClusterGraph
 Only points to existing graphs. More...
 

Additional Inherited Members

- Static Public Attributes inherited from ogdf::GraphAttributes
static const int nodeGraphics
 Corresponds to node attributes x(node), y(node), width(node), height(node), and shape(node). More...
 
static const int edgeGraphics
 Corresponds to edge attribute bends(edge). More...
 
static const int edgeIntWeight
 Corresponds to edge attribute intWeight(edge). More...
 
static const int edgeDoubleWeight
 Corresponds to edge attribute doubleWeight(edge). More...
 
static const int edgeLabel
 Corresponds to edge attribute label(edge). More...
 
static const int nodeLabel
 Corresponds to node attribute label(node). More...
 
static const int edgeType
 Corresponds to edge attribute type(edge). More...
 
static const int nodeType
 Corresponds to node attribute type(node). More...
 
static const int nodeId
 Corresponds to node attribute idNode(node). More...
 
static const int edgeArrow
 Corresponds to edge attribute arrowType(edge). More...
 
static const int edgeStyle
 Corresponds to edge attributes strokeColor(edge), strokeType(edge), and strokeWidth(edge). More...
 
static const int nodeStyle
 Corresponds to node attributes strokeColor(node), strokeType(node), strokeWidth(node), fillPattern(node), fillColor(node), and fillBgColor(node). More...
 
static const int nodeTemplate
 Corresponds to node attribute templateNode(node). More...
 
static const int edgeSubGraphs
 Corresponds to edge attributes modified by addSubGraph(edge, int), inSubGraph(edge, int) const, and removeSubGraph(edge, int). More...
 
static const int nodeWeight
 Corresponds to node attribute weight(node). More...
 
static const int threeD
 Corresponds to node attribute z(node). Note that all methods work on 2D coordinates only. More...
 
static const int nodeLabelPosition
 Corresponds to node attributes xLabel(node), yLabel(node), and zLabel(node). More...
 
- Protected Attributes inherited from ogdf::GraphAttributes
long m_attributes
 bit vector of currently used attributes More...
 
EdgeArray< DPolyline > m_bends
 list of bend points of an edge More...
 
bool m_directed
 whether or not the graph is directed More...
 
EdgeArray< double > m_doubleWeight
 (real number) weight of an edge More...
 
EdgeArray< EdgeArrow > m_edgeArrow
 arrow type of an edge More...
 
EdgeArray< string > m_edgeLabel
 label of an edge More...
 
EdgeArray< Stroke > m_edgeStroke
 stroke of an edge More...
 
EdgeArray< Graph::EdgeType > m_eType
 type of an edge (association or generalization) More...
 
NodeArray< double > m_height
 height of a nodes's bounding box More...
 
EdgeArray< int > m_intWeight
 (integer) weight of an edge More...
 
NodeArray< Fill > m_nodeFill
 fill of a node More...
 
NodeArray< int > m_nodeId
 user ID of a node More...
 
NodeArray< int > m_nodeIntWeight
 (integer) weight of a node More...
 
NodeArray< string > m_nodeLabel
 label of a node More...
 
NodeArray< double > m_nodeLabelPosX
 x-coordinate of a node label More...
 
NodeArray< double > m_nodeLabelPosY
 y-coordinate of a node label More...
 
NodeArray< double > m_nodeLabelPosZ
 z-coordinate of a node label More...
 
NodeArray< Shape > m_nodeShape
 shape of a node More...
 
NodeArray< Stroke > m_nodeStroke
 stroke of a node More...
 
NodeArray< string > m_nodeTemplate
 name of template of a node More...
 
const Graph * m_pGraph
 associated graph More...
 
EdgeArray< uint32_t > m_subGraph
 is element of subgraphs given by bitvector More...
 
NodeArray< Graph::NodeType > m_vType
 type (vertex, dummy, generalizationMerger) More...
 
NodeArray< double > m_width
 width of a node's bounding box More...
 
NodeArray< double > m_x
 x-coordinate of a node More...
 
NodeArray< double > m_y
 y-coordinate of a node More...
 
NodeArray< double > m_z
 z-coordinate of a node More...
 

Detailed Description

Stores additional attributes of a clustered graph (like layout information).

Definition at line 67 of file ClusterGraphAttributes.h.

Constructor & Destructor Documentation

◆ ClusterGraphAttributes() [1/2]

ogdf::ClusterGraphAttributes::ClusterGraphAttributes ( )
inline

Constructs cluster graph attributes for no associated graph.

Definition at line 98 of file ClusterGraphAttributes.h.

◆ ClusterGraphAttributes() [2/2]

ogdf::ClusterGraphAttributes::ClusterGraphAttributes ( ClusterGraph &  cg,
long  initAttributes = 0 
)
explicit

Constructs cluster graph attributes for cluster graph cg with attributes initAttributes.

Remarks
All attributes in ClusterElement are always available.

◆ ~ClusterGraphAttributes()

virtual ogdf::ClusterGraphAttributes::~ClusterGraphAttributes ( )
inlinevirtual

Definition at line 106 of file ClusterGraphAttributes.h.

Member Function Documentation

◆ boundingBox()

virtual DRect ogdf::ClusterGraphAttributes::boundingBox ( ) const
overridevirtual

Returns the bounding box of the layout.

Reimplemented from ogdf::GraphAttributes.

◆ clusterInfo() [1/2]

const ClusterInfo& ogdf::ClusterGraphAttributes::clusterInfo ( cluster  c) const
inline

Returns the cluster info structure of cluster c.

Definition at line 232 of file ClusterGraphAttributes.h.

◆ clusterInfo() [2/2]

ClusterInfo& ogdf::ClusterGraphAttributes::clusterInfo ( cluster  c)
inline

Returns the cluster info structure of cluster c.

Definition at line 235 of file ClusterGraphAttributes.h.

◆ clusterOf()

cluster ogdf::ClusterGraphAttributes::clusterOf ( node  v)
inline

Returns the parent cluster of node v.

Definition at line 291 of file ClusterGraphAttributes.h.

◆ constClusterGraph()

const ClusterGraph& ogdf::ClusterGraphAttributes::constClusterGraph ( ) const
inline

Returns the associated cluster graph.

Definition at line 122 of file ClusterGraphAttributes.h.

◆ fillBgColor() [1/2]

const Color& ogdf::ClusterGraphAttributes::fillBgColor ( cluster  c) const
inline

Returns the background color of fill patterns for cluster c.

Definition at line 206 of file ClusterGraphAttributes.h.

◆ fillBgColor() [2/2]

Color& ogdf::ClusterGraphAttributes::fillBgColor ( cluster  c)
inline

Returns the background color of fill patterns for cluster c.

Definition at line 211 of file ClusterGraphAttributes.h.

◆ fillColor() [1/2]

const Color& ogdf::ClusterGraphAttributes::fillColor ( cluster  c) const
inline

Returns the fill color of cluster c.

Definition at line 196 of file ClusterGraphAttributes.h.

◆ fillColor() [2/2]

Color& ogdf::ClusterGraphAttributes::fillColor ( cluster  c)
inline

Returns the fill color of cluster c.

Definition at line 201 of file ClusterGraphAttributes.h.

◆ fillPattern()

FillPattern ogdf::ClusterGraphAttributes::fillPattern ( cluster  c) const
inline

Returns the fill pattern of cluster c.

Definition at line 186 of file ClusterGraphAttributes.h.

◆ flipHorizontal()

virtual void ogdf::ClusterGraphAttributes::flipHorizontal ( const DRect &  box)
overridevirtual

Flips the (whole) layout horizontally such that the part in box remains in this area.

The whole layout is flipped and then moved such that the part that was in box before flipping is moved to this area.

Reimplemented from ogdf::GraphAttributes.

◆ flipVertical()

virtual void ogdf::ClusterGraphAttributes::flipVertical ( const DRect &  box)
overridevirtual

Flips the (whole) layout vertically such that the part in box remains in this area.

The whole layout is flipped and then moved such that the part that was in box before flipping is moved to this area.

Reimplemented from ogdf::GraphAttributes.

◆ height() [1/2]

double ogdf::ClusterGraphAttributes::height ( cluster  c) const
inline

Returns the height of cluster c.

Definition at line 150 of file ClusterGraphAttributes.h.

◆ height() [2/2]

double& ogdf::ClusterGraphAttributes::height ( cluster  c)
inline

Returns the height of cluster c.

Definition at line 153 of file ClusterGraphAttributes.h.

◆ init() [1/2]

virtual void ogdf::ClusterGraphAttributes::init ( ClusterGraph &  cg,
long  initAttributes = 0 
)
virtual

Initializes the cluster graph attributes for cluster graph cg with attributes initAttributes.

◆ init() [2/2]

virtual void ogdf::ClusterGraphAttributes::init ( const Graph &  ,
long   
)
inlineoverridevirtual

Forbidden initialization, use init(ClusterGraph &cg, long initAttributes) instead!

Reimplemented from ogdf::GraphAttributes.

Definition at line 112 of file ClusterGraphAttributes.h.

◆ initAtt()

virtual void ogdf::ClusterGraphAttributes::initAtt ( long  initAttributes = 0)
inlinevirtual

Initializes the attributes according to initAttributes.

Definition at line 117 of file ClusterGraphAttributes.h.

◆ label() [1/2]

const string& ogdf::ClusterGraphAttributes::label ( cluster  c) const
inline

Returns the label of cluster c.

Definition at line 216 of file ClusterGraphAttributes.h.

◆ label() [2/2]

string& ogdf::ClusterGraphAttributes::label ( cluster  c)
inline

Returns the label of cluster c.

Definition at line 221 of file ClusterGraphAttributes.h.

◆ scale()

virtual void ogdf::ClusterGraphAttributes::scale ( double  sx,
double  sy,
bool  scaleNodes = true 
)
overridevirtual

Scales the layout by (sx,sy).

If scaleNodes is true, node sizes are scaled as well.

Parameters
sxis the scaling factor for x-coordinates.
syis the scaling factor for y-coordinates.
scaleNodesdetermines if nodes size are scaled as well (true) or not.

Reimplemented from ogdf::GraphAttributes.

◆ setFillPattern()

void ogdf::ClusterGraphAttributes::setFillPattern ( cluster  c,
FillPattern  fp 
)
inline

Sets the fill pattern of cluster c to fp.

Definition at line 191 of file ClusterGraphAttributes.h.

◆ setStrokeType()

void ogdf::ClusterGraphAttributes::setStrokeType ( cluster  c,
StrokeType  st 
)
inline

Sets the stroke type of cluster c to st.

Definition at line 161 of file ClusterGraphAttributes.h.

◆ strokeColor() [1/2]

const Color& ogdf::ClusterGraphAttributes::strokeColor ( cluster  c) const
inline

Returns the stroke color of cluster c.

Definition at line 166 of file ClusterGraphAttributes.h.

◆ strokeColor() [2/2]

Color& ogdf::ClusterGraphAttributes::strokeColor ( cluster  c)
inline

Returns the stroke color of cluster c.

Definition at line 171 of file ClusterGraphAttributes.h.

◆ strokeType()

StrokeType ogdf::ClusterGraphAttributes::strokeType ( cluster  c) const
inline

Returns the stroke type of cluster c.

Definition at line 156 of file ClusterGraphAttributes.h.

◆ strokeWidth() [1/2]

const float& ogdf::ClusterGraphAttributes::strokeWidth ( cluster  c) const
inline

Returns the stroke width of cluster c.

Definition at line 176 of file ClusterGraphAttributes.h.

◆ strokeWidth() [2/2]

float& ogdf::ClusterGraphAttributes::strokeWidth ( cluster  c)
inline

Returns the stroke width of cluster c.

Definition at line 181 of file ClusterGraphAttributes.h.

◆ templateCluster() [1/2]

const string& ogdf::ClusterGraphAttributes::templateCluster ( cluster  c) const
inline

Returns the template of cluster c.

Definition at line 226 of file ClusterGraphAttributes.h.

◆ templateCluster() [2/2]

string& ogdf::ClusterGraphAttributes::templateCluster ( cluster  c)
inline

Returns the template of cluster c.

Definition at line 229 of file ClusterGraphAttributes.h.

◆ translate()

virtual void ogdf::ClusterGraphAttributes::translate ( double  dx,
double  dy 
)
overridevirtual

Translates the layout by (dx,dy).

Parameters
dxis the translation in x-direction.
dyis the translation in y-direction.

Reimplemented from ogdf::GraphAttributes.

◆ updateClusterPositions()

void ogdf::ClusterGraphAttributes::updateClusterPositions ( double  boundaryDist = 1.0)

Updates positions of cluster boundaries wrt to children and child clusters.

◆ width() [1/2]

double ogdf::ClusterGraphAttributes::width ( cluster  c) const
inline

Returns the width of cluster c.

Definition at line 144 of file ClusterGraphAttributes.h.

◆ width() [2/2]

double& ogdf::ClusterGraphAttributes::width ( cluster  c)
inline

Returns the width of cluster c.

Definition at line 147 of file ClusterGraphAttributes.h.

◆ x() [1/2]

double ogdf::ClusterGraphAttributes::x ( cluster  c) const
inline

Returns the x-position of cluster c's cage (lower left corner).

Definition at line 132 of file ClusterGraphAttributes.h.

◆ x() [2/2]

double& ogdf::ClusterGraphAttributes::x ( cluster  c)
inline

Returns the x-position of cluster c's cage (lower left corner).

Definition at line 135 of file ClusterGraphAttributes.h.

◆ y() [1/2]

double ogdf::ClusterGraphAttributes::y ( cluster  c) const
inline

Returns the y-position of cluster c's cage (lower left corner).

Definition at line 138 of file ClusterGraphAttributes.h.

◆ y() [2/2]

double& ogdf::ClusterGraphAttributes::y ( cluster  c)
inline

Returns the y-position of cluster c's cage (lower left corner).

Definition at line 141 of file ClusterGraphAttributes.h.

Member Data Documentation

◆ m_clusterInfo

ClusterArray<ClusterInfo> ogdf::ClusterGraphAttributes::m_clusterInfo
private

cluster attributes

Definition at line 72 of file ClusterGraphAttributes.h.

◆ m_clusterTemplate

ClusterArray<string> ogdf::ClusterGraphAttributes::m_clusterTemplate
private

Name of cluster template.

Definition at line 73 of file ClusterGraphAttributes.h.

◆ m_pClusterGraph

const ClusterGraph* ogdf::ClusterGraphAttributes::m_pClusterGraph
private

Only points to existing graphs.

Definition at line 69 of file ClusterGraphAttributes.h.


The documentation for this class was generated from the following file: