Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

RandomPlacer.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/basic.h>
36 
37 namespace ogdf {
38 class MultilevelGraph;
39 
41 
45  void placeOneNode(MultilevelGraph& MLG, double radius);
46 
48 
49 public:
50  RandomPlacer() : m_circleSizeFactor(1.0) {};
51  void placeOneLevel(MultilevelGraph& MLG) override;
52  void setCircleSize(double factor);
53 };
54 
55 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
ogdf::RandomPlacer::RandomPlacer
RandomPlacer()
Definition: RandomPlacer.h:50
ogdf::MultilevelGraph
Definition: MultilevelGraph.h:69
ogdf::InitialPlacer
Base class for placer modules.
Definition: InitialPlacer.h:43
ogdf::RandomPlacer
The random placer for multilevel layout.
Definition: RandomPlacer.h:44
basic.h
Basic declarations, included by all source files.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::RandomPlacer::m_circleSizeFactor
double m_circleSizeFactor
Definition: RandomPlacer.h:47
InitialPlacer.h
Abstract InitialPlacer places the nodes of the level into the next.