Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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