Source: http://www.ogdf.net/doc-ogdf/classogdf_1_1_graph_attributes.html
Timestamp: 2019-04-20 18:12:49+00:00

Document:
Stores additional attributes of a graph (like layout information).
It is frequently necessary to associate additional attributes with a graph. The class GraphAttributes provides various such attributes and is the central place were such attributes are stored.
Attributes are simply stored in node or edge arrays; for memory consumption reasons, only a subset of these arrays is in fact initialized for the graph; non-initialized arrays require only a few bytes of extra memory.
Which arrays are initialized is specified by a bit vector; each bit in this bit vector corresponds to one or more attributes. E.g., nodeGraphics corresponds to the attributes m_x, m_y, m_width, and m_height; whereas edgeDoubleWeight only corresponds to the attribute m_doubleWeight.
Attributes can be initialized by the constructor GraphAttributes(const Graph &,long) or the function initAttributes(); attributes can also be deinitialized by calling destroyAttributes().
Definition at line 86 of file GraphAttributes.h.
Definition at line 126 of file GraphAttributes.h.
Constructs graph attributes for no associated graph (default constructor).
The associated graph can be set later with the init() function.
Constructs graph attributes associated with the graph G.
G is the associated graph.
initAttributes specifies the set of attributes that can be accessed.
Definition at line 164 of file GraphAttributes.h.
Adds additional bend points to all edges for connecting their endpoints.
Adds edge e to basic graph n.
Definition at line 489 of file GraphAttributes.h.
Returns the arrow type of edge e.
Definition at line 402 of file GraphAttributes.h.
Definition at line 406 of file GraphAttributes.h.
Definition at line 168 of file GraphAttributes.h.
Returns the list of bend points of edge e.
Definition at line 393 of file GraphAttributes.h.
Definition at line 397 of file GraphAttributes.h.
Returns the bounding box of the graph.
Returns a reference to the associated graph.
Definition at line 189 of file GraphAttributes.h.
Returns if the graph is directed.
Definition at line 200 of file GraphAttributes.h.
Returns the (real number) weight of edge e.
Definition at line 456 of file GraphAttributes.h.
Definition at line 460 of file GraphAttributes.h.
Returns the background color of fill patterns for node v.
Definition at line 333 of file GraphAttributes.h.
Definition at line 337 of file GraphAttributes.h.
Returns the fill color of node v.
Definition at line 324 of file GraphAttributes.h.
Definition at line 328 of file GraphAttributes.h.
Returns the fill pattern of node v.
Definition at line 315 of file GraphAttributes.h.
Returns the height of the bounding box of node v.
Definition at line 261 of file GraphAttributes.h.
Definition at line 265 of file GraphAttributes.h.
Returns a reference to the node array m_height.
Definition at line 270 of file GraphAttributes.h.
Definition at line 274 of file GraphAttributes.h.
Returns a list of all inheritance hierarchies in the graph.
Inheritance hierarchies are identified by edges with type Graph::generalization.
list is a list of all hierarchies; each hierarchie is itself a list of all nodes in this hierarchy.
Returns the number of generalization hierarchies.
list is a list of all hierarchies; each hierarchie is itself a list of all edges in this hierarchy.
Returns the user ID of node v.
Definition at line 378 of file GraphAttributes.h.
Definition at line 382 of file GraphAttributes.h.
Initializes the graph attributes for graph G.
G is the new associated graph.
initAttr specifies the set of attributes that can be accessed.
All attributes that were allocated before are destroyed by this function! If you wish to extend the set of allocated attributes, use initAttributes().
Reimplemented in ogdf::ClusterGraphAttributes, and ogdf::UMLGraph.
Initializes attributes in attr for usage.
Checks whether edge e belongs to basic graph n.
Definition at line 483 of file GraphAttributes.h.
Returns the (integer) weight of edge e.
Definition at line 447 of file GraphAttributes.h.
Definition at line 451 of file GraphAttributes.h.
Returns true iff v represents an association class.
We hide the internal representation of semantic node types from the user to be able to change this later (semantic node type member array). We are not allowed to set association classes manually, only by calling createAssociationClass().
Definition at line 546 of file GraphAttributes.h.
Returns the label of node v.
Definition at line 342 of file GraphAttributes.h.
Definition at line 346 of file GraphAttributes.h.
Returns the label of edge e.
Definition at line 438 of file GraphAttributes.h.
Definition at line 442 of file GraphAttributes.h.
Removes edge e from basic graph n.
Definition at line 495 of file GraphAttributes.h.
Removes unnecessary bend points in orthogonal segements.
Processes all edges and removes unnecessary bend points in the bend point list of the edge, i.e., bend points such that the preceding and succeeding bend point form a horizontal or vertical segement containing this bend point. This function is useful to remove redundant bend points in an orthogonal layout.
Sets the height of all nodes to h.
Sets the width of all nodes to w.
Sets if the graph is directed to directed.
Definition at line 205 of file GraphAttributes.h.
Sets the fill pattern of node v to fp.
Definition at line 319 of file GraphAttributes.h.
Sets the stroke type of node v to st.
Definition at line 292 of file GraphAttributes.h.
Sets the stroke type of edge e to st.
Definition at line 415 of file GraphAttributes.h.
Returns the shape type of node v.
Definition at line 279 of file GraphAttributes.h.
Definition at line 283 of file GraphAttributes.h.
Returns the stroke color of node v.
Definition at line 297 of file GraphAttributes.h.
Definition at line 301 of file GraphAttributes.h.
Returns the stroke color of edge e.
Definition at line 420 of file GraphAttributes.h.
Definition at line 424 of file GraphAttributes.h.
Returns the stroke type of node v.
Definition at line 288 of file GraphAttributes.h.
Returns the stroke type of edge e.
Definition at line 411 of file GraphAttributes.h.
Returns the stroke width of node v.
Definition at line 306 of file GraphAttributes.h.
Definition at line 310 of file GraphAttributes.h.
Returns the stroke width of edge e.
Definition at line 429 of file GraphAttributes.h.
Definition at line 433 of file GraphAttributes.h.
Returns the edgesubgraph value of an edge e.
Definition at line 474 of file GraphAttributes.h.
Definition at line 478 of file GraphAttributes.h.
Returns the template name of node v.
Definition at line 351 of file GraphAttributes.h.
Definition at line 355 of file GraphAttributes.h.
Definition at line 369 of file GraphAttributes.h.
Definition at line 373 of file GraphAttributes.h.
Returns the type of edge e.
Definition at line 465 of file GraphAttributes.h.
Definition at line 469 of file GraphAttributes.h.
Returns the weight of node v.
Definition at line 360 of file GraphAttributes.h.
Definition at line 364 of file GraphAttributes.h.
Returns the width of the bounding box of node v.
Definition at line 243 of file GraphAttributes.h.
Definition at line 247 of file GraphAttributes.h.
Returns a reference to the node array m_width.
Definition at line 252 of file GraphAttributes.h.
Definition at line 256 of file GraphAttributes.h.
Returns the x-coordinate of node v.
Definition at line 216 of file GraphAttributes.h.
Definition at line 220 of file GraphAttributes.h.
Returns the y-coordinate of node v.
Definition at line 225 of file GraphAttributes.h.
Definition at line 229 of file GraphAttributes.h.
Returns the z-coordinate of node v.
Definition at line 234 of file GraphAttributes.h.
Definition at line 238 of file GraphAttributes.h.
Definition at line 122 of file GraphAttributes.h.
Definition at line 111 of file GraphAttributes.h.
Definition at line 91 of file GraphAttributes.h.
Definition at line 118 of file GraphAttributes.h.
Definition at line 113 of file GraphAttributes.h.
Definition at line 112 of file GraphAttributes.h.
Definition at line 114 of file GraphAttributes.h.
Definition at line 119 of file GraphAttributes.h.
Definition at line 98 of file GraphAttributes.h.
Definition at line 117 of file GraphAttributes.h.
Definition at line 102 of file GraphAttributes.h.
Definition at line 106 of file GraphAttributes.h.
Definition at line 107 of file GraphAttributes.h.
Definition at line 100 of file GraphAttributes.h.
Definition at line 99 of file GraphAttributes.h.
Definition at line 101 of file GraphAttributes.h.
Definition at line 103 of file GraphAttributes.h.
Definition at line 89 of file GraphAttributes.h.
Definition at line 120 of file GraphAttributes.h.
Definition at line 108 of file GraphAttributes.h.
Definition at line 97 of file GraphAttributes.h.
Definition at line 94 of file GraphAttributes.h.
Definition at line 95 of file GraphAttributes.h.
Definition at line 96 of file GraphAttributes.h.

References: v.

 v.

 v.

 v.

 v.

 v.

 v.

 v.

 v.

 v.

 v.

 v.

 v.

 v.

 v.

 v.