Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::VertexMovement Class Reference

#include <ogdf/geometric/VertexMovement.h>

+ Inheritance diagram for ogdf::VertexMovement:

Public Member Functions

 VertexMovement ()
 Constructor, sets options to default values.
 
 ~VertexMovement ()
 
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)
 
- Public Member Functions inherited from ogdf::LayoutModule
 LayoutModule ()
 Initializes a layout module.
 
virtual ~LayoutModule ()
 
void operator() (GraphAttributes &GA)
 Computes a layout of graph GA.
 

Private Attributes

VertexPositionModulem_pos = nullptr
 
List< node > * m_vertex_order = nullptr
 

Detailed Description

Definition at line 52 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 63 of file VertexMovement.h.

◆ setVertexPosition()

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

Definition at line 61 of file VertexMovement.h.

Member Data Documentation

◆ m_pos

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

Definition at line 68 of file VertexMovement.h.

◆ m_vertex_order

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

Definition at line 69 of file VertexMovement.h.


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