Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
UPRLayoutModule.h
Go to the documentation of this file.
1
32#pragma once
33
34#include <ogdf/basic/basic.h>
35#include <ogdf/basic/memory.h>
36
37namespace ogdf {
38class GraphAttributes;
39class UpwardPlanRep;
40
47public:
50
51 virtual ~UPRLayoutModule() { }
52
58 void call(const UpwardPlanRep& UPR, GraphAttributes& AG) { doCall(UPR, AG); }
59
61
62protected:
71 virtual void doCall(const UpwardPlanRep& UPR, GraphAttributes& AG) = 0;
72
74};
75
76}
Basic declarations, included by all source files.
Stores additional attributes of a graph (like layout information).
Interface of hierarchy layout algorithms.
void call(const UpwardPlanRep &UPR, GraphAttributes &AG)
Computes a upward layout of UPR in AG.
UPRLayoutModule()
Initializes a upward planarized representation layout module.
virtual void doCall(const UpwardPlanRep &UPR, GraphAttributes &AG)=0
Implements the actual algorithm call.
Upward planarized representations (of a connected component) of a graph.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition config.h:117
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition memory.h:92
Declaration of memory manager for allocating small pieces of memory.
The namespace for all OGDF objects.