Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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

#include <ogdf/geometric/GeometricEdgeInsertion.h>

+ Inheritance diagram for ogdf::GeometricEdgeInsertion:

Public Member Functions

 GeometricEdgeInsertion (Graph &_g)
 Constructor, sets options to default values.
 
 ~GeometricEdgeInsertion ()
 
virtual void call (GraphAttributes &GA) override
 The main call to the algorithm. GA should have nodeGraphics attributes enabled.
 
void setHiddenEdgeSet (List< edge > *edge_set)
 sets the set of edges that have to reinserted
 
void setInitialLayouter (ogdf::LayoutModule *initial_layout_module)
 sets the method to compute the initial layout of the computed (planar) subgraph
 
void setVertexPosition (VertexPositionModule *opt_pos)
 sets the routine the compute the new position of a vertex
 
- 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

Graphg
 
List< edge > * m_edge_set = nullptr
 
LayoutModulem_initial_layout_module = nullptr
 
VertexPositionModulem_pos = nullptr
 

Detailed Description

Definition at line 55 of file GeometricEdgeInsertion.h.

Constructor & Destructor Documentation

◆ GeometricEdgeInsertion()

ogdf::GeometricEdgeInsertion::GeometricEdgeInsertion ( Graph _g)
inline

Constructor, sets options to default values.

Definition at line 58 of file GeometricEdgeInsertion.h.

◆ ~GeometricEdgeInsertion()

ogdf::GeometricEdgeInsertion::~GeometricEdgeInsertion ( )
inline

Definition at line 60 of file GeometricEdgeInsertion.h.

Member Function Documentation

◆ call()

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

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

Implements ogdf::LayoutModule.

◆ setHiddenEdgeSet()

void ogdf::GeometricEdgeInsertion::setHiddenEdgeSet ( List< edge > *  edge_set)
inline

sets the set of edges that have to reinserted

Definition at line 69 of file GeometricEdgeInsertion.h.

◆ setInitialLayouter()

void ogdf::GeometricEdgeInsertion::setInitialLayouter ( ogdf::LayoutModule initial_layout_module)
inline

sets the method to compute the initial layout of the computed (planar) subgraph

Definition at line 75 of file GeometricEdgeInsertion.h.

◆ setVertexPosition()

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

sets the routine the compute the new position of a vertex

Definition at line 66 of file GeometricEdgeInsertion.h.

Member Data Documentation

◆ g

Graph& ogdf::GeometricEdgeInsertion::g
private

Definition at line 81 of file GeometricEdgeInsertion.h.

◆ m_edge_set

List<edge>* ogdf::GeometricEdgeInsertion::m_edge_set = nullptr
private

Definition at line 85 of file GeometricEdgeInsertion.h.

◆ m_initial_layout_module

LayoutModule* ogdf::GeometricEdgeInsertion::m_initial_layout_module = nullptr
private

Definition at line 83 of file GeometricEdgeInsertion.h.

◆ m_pos

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

Definition at line 82 of file GeometricEdgeInsertion.h.


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