Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

UPRLayoutModule.h
Go to the documentation of this file.
1 
32 #pragma once
33 
36 
37 namespace ogdf {
38 
39 
46 public:
49 
50  virtual ~UPRLayoutModule() { }
51 
57  void call(const UpwardPlanRep& UPR, GraphAttributes& AG) { doCall(UPR, AG); }
58 
60 
61 protected:
70  virtual void doCall(const UpwardPlanRep& UPR, GraphAttributes& AG) = 0;
71 
73 };
74 
75 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
ogdf::GraphAttributes
Stores additional attributes of a graph (like layout information).
Definition: GraphAttributes.h:66
GraphAttributes.h
Declaration of class GraphAttributes which extends a Graph by additional attributes.
UpwardPlanRep.h
Declaration of a base class for planar representations of graphs and cluster graphs.
ogdf::UPRLayoutModule
Interface of hierarchy layout algorithms.
Definition: UPRLayoutModule.h:45
ogdf::UPRLayoutModule::numberOfLevels
int numberOfLevels
Definition: UPRLayoutModule.h:59
OGDF_MALLOC_NEW_DELETE
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition: memory.h:91
ogdf::UPRLayoutModule::~UPRLayoutModule
virtual ~UPRLayoutModule()
Definition: UPRLayoutModule.h:50
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::UpwardPlanRep
Upward planarized representations (of a connected component) of a graph.
Definition: UpwardPlanRep.h:50
ogdf::UPRLayoutModule::call
void call(const UpwardPlanRep &UPR, GraphAttributes &AG)
Computes a upward layout of UPR in AG.
Definition: UPRLayoutModule.h:57
ogdf::UPRLayoutModule::UPRLayoutModule
UPRLayoutModule()
Initializes a upward planarized representation layout module.
Definition: UPRLayoutModule.h:48