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
35#include <ogdf/basic/basic.h>
36#include <ogdf/basic/memory.h>
37
38namespace ogdf {
39class GraphAttributes;
40
46public:
49
50 virtual ~LayoutModule() { }
51
59 virtual void call(GraphAttributes& GA) = 0;
60
66 void operator()(GraphAttributes& GA) { call(GA); }
67
69};
70
71}
Basic declarations, included by all source files.
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 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.