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
38namespace ogdf {
39
46public:
49
51
59 virtual void call(GraphAttributes& GA) override = 0;
60
83 virtual void call(MultilevelGraph& MLG) {
84 GraphAttributes GA(MLG.getGraph());
85 MLG.exportAttributesSimple(GA);
86 call(GA);
87 MLG.importAttributesSimple(GA);
88 };
89
91};
92
93}
Declaration of interface for layout algorithms (class LayoutModule)
MLG is the main data structure for ModularMultilevelMixer.
Stores additional attributes of a graph (like layout information).
Interface of general layout algorithms.
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 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.