Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
MultilevelLayoutModule.h
Go to the documentation of this file.
1
33#pragma once
34
37#include <ogdf/basic/basic.h>
38#include <ogdf/basic/memory.h>
40
41namespace ogdf {
42
49public:
52
54
62 virtual void call(GraphAttributes& GA) override = 0;
63
86 virtual void call(MultilevelGraph& MLG) {
87 GraphAttributes GA(MLG.getGraph());
89 call(GA);
91 };
92
94};
95
96}
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Declaration of interface for layout algorithms (class LayoutModule)
MLG is the main data structure for ModularMultilevelMixer.
Basic declarations, included by all source files.
Stores additional attributes of a graph (like layout information).
Interface of general layout algorithms.
void exportAttributesSimple(GraphAttributes &GA) const
void importAttributesSimple(const GraphAttributes &GA)
Interface of general layout algorithms that also allow a MultilevelGraph as call parameter,...
virtual void call(GraphAttributes &GA) override=0
Computes a layout of graph GA.
MultilevelLayoutModule()
Initializes a multilevel layout module.
virtual void call(MultilevelGraph &MLG)
Computes a layout of graph MLG.
#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.