Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
MultilevelLayout.h
Go to the documentation of this file.
1
34#pragma once
35
38#include <ogdf/basic/basic.h>
39
40namespace ogdf {
41class GraphAttributes;
42class InitialPlacer;
43class ModularMultilevelMixer;
44class MultilevelBuilder;
45
47
51public:
54
56 virtual void call(GraphAttributes& GA) override;
57
58 //Setting of the three main phases' methods
65
66private:
69};
70
71}
Declaration of interface for layout algorithms (class LayoutModule)
Preprocessor Layout simplifies Graphs for use in other Algorithms.
Basic declarations, included by all source files.
Stores additional attributes of a graph (like layout information).
Base class for placer modules.
Interface of general layout algorithms.
Modular multilevel graph layout.
Base class for merger modules.
The multilevel drawing framework.
MultilevelLayout()
Constructor.
void setPlacer(InitialPlacer *P)
Sets the placement method used when refining the levels again.
ModularMultilevelMixer * m_mixer
virtual void call(GraphAttributes &GA) override
Calculates a drawing for the Graph GA.
void setMultilevelBuilder(MultilevelBuilder *B)
Sets the method used for coarsening.
PreprocessorLayout m_preproc
void setLayout(LayoutModule *L)
Sets the single level layout.
The PreprocessorLayout removes multi-edges and self-loops.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition config.h:117
The namespace for all OGDF objects.