Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
InitialPlacer.h
Go to the documentation of this file.
1
32#pragma once
33
34#include <ogdf/basic/basic.h>
35
36namespace ogdf {
37class MultilevelGraph;
38
40
44protected:
46
47public:
48 InitialPlacer() : m_randomOffset(true) { }
49
50 virtual ~InitialPlacer() { }
51
52 virtual void placeOneLevel(MultilevelGraph& MLG) = 0;
53
54 void setRandomOffset(bool on) { m_randomOffset = on; }
55};
56
57}
Basic declarations, included by all source files.
Base class for placer modules.
virtual void placeOneLevel(MultilevelGraph &MLG)=0
void setRandomOffset(bool on)
#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.