Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

LayoutModule.h
Go to the documentation of this file.
1 
33 #pragma once
34 
36 
37 namespace ogdf {
38 
39 
45 public:
48 
49  virtual ~LayoutModule() { }
50 
58  virtual void call(GraphAttributes &GA) = 0;
59 
65  void operator()(GraphAttributes &GA) { call(GA); }
66 
68 };
69 
70 }
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:67
GraphAttributes.h
Declaration of class GraphAttributes which extends a Graph by additional attributes.
OGDF_MALLOC_NEW_DELETE
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition: memory.h:91
ogdf::LayoutModule::~LayoutModule
virtual ~LayoutModule()
Definition: LayoutModule.h:49
ogdf::LayoutModule::LayoutModule
LayoutModule()
Initializes a layout module.
Definition: LayoutModule.h:47
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
ogdf::LayoutModule::operator()
void operator()(GraphAttributes &GA)
Computes a layout of graph GA.
Definition: LayoutModule.h:65
ogdf::LayoutModule
Interface of general layout algorithms.
Definition: LayoutModule.h:44