Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::VertexMovement Class Reference

#include <ogdf/geometric/VertexMovement.h>

+ Inheritance diagram for ogdf::VertexMovement:

Public Member Functions

 VertexMovement ()
 Constructor, sets options to default values. More...
 
 ~VertexMovement ()
 
virtual void call (GraphAttributes &GA) override
 The main call to the algorithm. GA should have nodeGraphics attributes enabled. More...
 
void setVertexOrder (List< node > *vertex_order)
 
void setVertexPosition (VertexPositionModule *opt_pos)
 
- Public Member Functions inherited from ogdf::LayoutModule
 LayoutModule ()
 Initializes a layout module. More...
 
virtual ~LayoutModule ()
 
void operator() (GraphAttributes &GA)
 Computes a layout of graph GA. More...
 

Private Attributes

VertexPositionModulem_pos = nullptr
 
List< node > * m_vertex_order = nullptr
 

Detailed Description

Definition at line 57 of file VertexMovement.h.

Constructor & Destructor Documentation

◆ VertexMovement()

ogdf::VertexMovement::VertexMovement ( )

Constructor, sets options to default values.

◆ ~VertexMovement()

ogdf::VertexMovement::~VertexMovement ( )

Member Function Documentation

◆ call()

virtual void ogdf::VertexMovement::call ( GraphAttributes GA)
overridevirtual

The main call to the algorithm. GA should have nodeGraphics attributes enabled.

Implements ogdf::LayoutModule.

◆ setVertexOrder()

void ogdf::VertexMovement::setVertexOrder ( List< node > *  vertex_order)
inline

Definition at line 68 of file VertexMovement.h.

◆ setVertexPosition()

void ogdf::VertexMovement::setVertexPosition ( VertexPositionModule opt_pos)
inline

Definition at line 66 of file VertexMovement.h.

Member Data Documentation

◆ m_pos

VertexPositionModule* ogdf::VertexMovement::m_pos = nullptr
private

Definition at line 73 of file VertexMovement.h.

◆ m_vertex_order

List<node>* ogdf::VertexMovement::m_vertex_order = nullptr
private

Definition at line 74 of file VertexMovement.h.


The documentation for this class was generated from the following file: