Open
Graph Drawing
Framework
v. 2022.02 (Dogwood)
Overview
Class Hierarchy
Class Index
Class List
Members
Namespaces
Source Files
RandomPlacer.h
Go to the documentation of this file.
1
32
#pragma once
33
34
#include <
ogdf/energybased/multilevel_mixer/InitialPlacer.h
>
35
#include <
ogdf/basic/geometry.h
>
36
37
namespace
ogdf
{
38
40
43
class
OGDF_EXPORT
RandomPlacer
:
public
InitialPlacer
44
{
45
void
placeOneNode(
MultilevelGraph
&MLG,
double
radius);
46
47
double
m_circleSizeFactor
;
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:
AugmentationModule.h:36
ogdf::RandomPlacer::RandomPlacer
RandomPlacer()
Definition:
RandomPlacer.h:50
geometry.h
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
ogdf::MultilevelGraph
Definition:
MultilevelGraph.h:65
ogdf::InitialPlacer
Base class for placer modules.
Definition:
InitialPlacer.h:43
ogdf::RandomPlacer
The random placer for multilevel layout.
Definition:
RandomPlacer.h:43
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition:
config.h:99
ogdf::RandomPlacer::m_circleSizeFactor
double m_circleSizeFactor
Definition:
RandomPlacer.h:47
InitialPlacer.h
Abstract InitialPlacer places the nodes of the level into the next.
include
ogdf
energybased
multilevel_mixer
RandomPlacer.h
© 1999–2022
The OGDF Team