Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

CirclePlacer.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 public:
46  enum class NodeSelection { New, Old, All };
47 
48  CirclePlacer();
49  void setRadiusFixed(bool fixed);
50  void setCircleSize(float sizeIncrease);
51  void setNodeSelection(NodeSelection nodeSel);
52  void placeOneLevel(MultilevelGraph& MLG) override;
53 
54 private:
55  float m_circleSize;
58 };
59 
60 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
ogdf::CirclePlacer::m_circleSize
float m_circleSize
Definition: CirclePlacer.h:55
ogdf::MultilevelGraph
Definition: MultilevelGraph.h:69
ogdf::InitialPlacer
Base class for placer modules.
Definition: InitialPlacer.h:43
ogdf::CirclePlacer
The circle placer for multilevel layout.
Definition: CirclePlacer.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::CirclePlacer::m_fixedRadius
bool m_fixedRadius
Definition: CirclePlacer.h:56
InitialPlacer.h
Abstract InitialPlacer places the nodes of the level into the next.
ogdf::CirclePlacer::m_nodeSelection
NodeSelection m_nodeSelection
Definition: CirclePlacer.h:57
ogdf::UMLEdgeTypePatterns::All
@ All
ogdf::CirclePlacer::NodeSelection
NodeSelection
Definition: CirclePlacer.h:46