Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
LayoutModule.h
Go to the documentation of this file.
1
33#pragma once
34
36
37namespace ogdf {
38
39
45public:
48
49 virtual ~LayoutModule() { }
50
58 virtual void call(GraphAttributes& GA) = 0;
59
65 void operator()(GraphAttributes& GA) { call(GA); }
66
68};
69
70}
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Stores additional attributes of a graph (like layout information).
Interface of general layout algorithms.
void operator()(GraphAttributes &GA)
Computes a layout of graph GA.
virtual ~LayoutModule()
virtual void call(GraphAttributes &GA)=0
Computes a layout of graph GA.
LayoutModule()
Initializes a layout module.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition config.h:101
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition memory.h:91
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.