Open
Graph Drawing
Framework
v. snapshot-2017-02-16
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
}
// namespace ogdf
ogdf::RandomPlacer::RandomPlacer
RandomPlacer()
Definition:
RandomPlacer.h:50
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition:
config.h:99
ogdf::RandomPlacer
The random placer for multilevel layout.
Definition:
RandomPlacer.h:43
ogdf::InitialPlacer
Base class for placer modules.
Definition:
InitialPlacer.h:43
ogdf
The namespace for all OGDF objects.
Definition:
DfsMakeBiconnected.h:36
geometry.h
Declaration of classes DPoint, DPolyline, DLine, DRect, DIntersectableRect, DScaler.
ogdf::MultilevelGraph
Definition:
MultilevelGraph.h:65
InitialPlacer.h
Abstract InitialPlacer places the nodes of the level into the next.
ogdf::RandomPlacer::m_circleSizeFactor
double m_circleSizeFactor
Definition:
RandomPlacer.h:47
include
ogdf
energybased
multilevel_mixer
RandomPlacer.h
© 1999–2017
The OGDF Team