Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

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 }
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
void setRandomOffset(bool on)
Definition: InitialPlacer.h:54
MLG is the main data structure for ModularMultilevelMixer.
Includes declaration of graph class.
Base class for placer modules.
Definition: InitialPlacer.h:43
virtual ~InitialPlacer()
Definition: InitialPlacer.h:50
The namespace for all OGDF objects.