Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
VertexMovement.h
Go to the documentation of this file.
1
44#pragma once
45
46#include <ogdf/basic/Array.h>
49
50namespace ogdf {
51
53public:
57
59 virtual void call(GraphAttributes& GA) override;
60
62
63 void setVertexOrder(List<node>* vertex_order) { m_vertex_order = vertex_order; }
64
65
66protected:
67private:
68 VertexPositionModule* m_pos = nullptr;
69 List<node>* m_vertex_order = nullptr;
70
72};
73
74}
Declaration and implementation of Array class and Array algorithms.
Declaration of interface for layout algorithms (class LayoutModule)
Optimal Vertex Position interface.
Stores additional attributes of a graph (like layout information).
Interface of general layout algorithms.
Doubly linked lists (maintaining the length of the list).
Definition List.h:1435
VertexMovement()
Constructor, sets options to default values.
virtual void call(GraphAttributes &GA) override
The main call to the algorithm. GA should have nodeGraphics attributes enabled.
void setVertexOrder(List< node > *vertex_order)
void setVertexPosition(VertexPositionModule *opt_pos)
Interface for computing a good / optimal vertex position.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition config.h:101
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
Definition memory.h:84
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.