Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

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