|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
96 HierarchyLayoutModule::addBends(AGC, H);
97 AGC.transferToOriginal(AG);
106 void call(
const Hierarchy& H, GraphAttributes &, GraphAttributes &AGC) {
111 static void addBends(GraphAttributes &AGC, HierarchyLevels &levels);
114 static void dynLayerDistance(GraphAttributes& AGC, HierarchyLevelsBase& levels);
118 static void overlap(GraphAttributes& AGC, HierarchyLevelsBase& levels,
node s,
node t,
int i,
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Includes declaration of graph class.
void call(const HierarchyLevelsBase &levels, GraphAttributes &GA)
Computes a hierarchy layout of levels in GA.
static double getHeight(const GraphAttributes &GA, const HierarchyLevelsBase &levels, node v)
Returns the GA height of node v or 0 if it is a dummy node in the hierarchy of levels.
Interface of hierarchy layout algorithms.
static void dynLayerDistance(GraphAttributes &AGC, HierarchyLevelsBase &levels)
bool isDummy(node v) const
Returns true iff v has no corresponding node in the original graph.
Copies of graphs supporting edge splitting.
Representation of proper hierarchies used by Sugiyama-layout.
const Graph & constGraph() const
Returns a reference to the associated graph.
Shape shape(node v) const
Returns the shape type of node v.
internal::GraphObjectContainer< NodeElement > nodes
The container containing all node objects.
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Decralation of GraphElement and GraphList classes.
NodeElement * node
The type of nodes.
Declaration of graph copy classes.
double height(node v) const
Returns the height of the bounding box of node v.
void transferToOriginal(GraphAttributes &origAttr) const
Copies attributes of this to origAttr.
virtual ~HierarchyLayoutModule()
HierarchyLayoutModule()
Initializes a hierarchy layout module.
edge copy(edge e) const override
Returns the first edge in the list of edges corresponding to edge e.
Declaration of interfaces used in Sugiyama framework.
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static double getWidth(const GraphAttributes &GA, const HierarchyLevelsBase &levels, node v)
Returns the GA width of node v or 0 if it is a dummy node in the hierarchy of levels.
Declaration of Hierarchy class.
virtual const Hierarchy & hierarchy() const =0
Class for the representation of nodes.
Declaration of memory manager for allocating small pieces of memory.
static const long nodeGraphics
Corresponds to node attributes x(node), y(node), width(node), height(node), and shape(node).
bool has(long attr) const
Returns true iff all attributes in attr are available.
double width(node v) const
Returns the width of the bounding box of node v.