Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

InitialPlacer.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/Graph.h>
36 
37 namespace ogdf {
38 
40 
44 {
45 protected:
47 
48 public:
49  InitialPlacer():m_randomOffset(true) { }
50  virtual ~InitialPlacer() { }
51 
52  virtual void placeOneLevel(MultilevelGraph &MLG) = 0;
53 
54  void setRandomOffset(bool on)
55  {
56  m_randomOffset = on;
57  }
58 };
59 
60 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
ogdf::InitialPlacer::setRandomOffset
void setRandomOffset(bool on)
Definition: InitialPlacer.h:54
Graph.h
Includes declaration of graph class.
ogdf::InitialPlacer::InitialPlacer
InitialPlacer()
Definition: InitialPlacer.h:49
ogdf::MultilevelGraph
Definition: MultilevelGraph.h:65
ogdf::InitialPlacer
Base class for placer modules.
Definition: InitialPlacer.h:43
MultilevelGraph.h
MLG is the main data structure for ModularMultilevelMixer.
ogdf::InitialPlacer::~InitialPlacer
virtual ~InitialPlacer()
Definition: InitialPlacer.h:50
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
ogdf::InitialPlacer::m_randomOffset
bool m_randomOffset
Definition: InitialPlacer.h:46