Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::UpwardPlanarizationLayout Class Reference

#include <ogdf/upward/UpwardPlanarizationLayout.h>

+ Inheritance diagram for ogdf::UpwardPlanarizationLayout:

Public Member Functions

 UpwardPlanarizationLayout ()
 
virtual void call (GraphAttributes &GA) override
 Computes a layout of graph GA. More...
 
int numberOfCrossings () const
 
int numberOfLevels () const
 
void setUPRLayout (UPRLayoutModule *pLayout)
 
void setUpwardPlanarizer (UpwardPlanarizerModule *pUpwardPlanarizer)
 
- 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...
 

Protected Attributes

int m_cr_nr
 
std::unique_ptr< UPRLayoutModulem_layout
 
int m_numLevels
 
std::unique_ptr< UpwardPlanarizerModulem_UpwardPlanarizer
 

Detailed Description

Definition at line 47 of file UpwardPlanarizationLayout.h.

Constructor & Destructor Documentation

◆ UpwardPlanarizationLayout()

ogdf::UpwardPlanarizationLayout::UpwardPlanarizationLayout ( )
inline

Definition at line 50 of file UpwardPlanarizationLayout.h.

Member Function Documentation

◆ call()

virtual void ogdf::UpwardPlanarizationLayout::call ( GraphAttributes GA)
inlineoverridevirtual

Computes a layout of graph GA.

This method is the actual algorithm call and must be implemented by derived classes.

Parameters
GAis the input graph and will also be assigned the layout information.

Implements ogdf::LayoutModule.

Definition at line 59 of file UpwardPlanarizationLayout.h.

◆ numberOfCrossings()

int ogdf::UpwardPlanarizationLayout::numberOfCrossings ( ) const
inline

Definition at line 79 of file UpwardPlanarizationLayout.h.

◆ numberOfLevels()

int ogdf::UpwardPlanarizationLayout::numberOfLevels ( ) const
inline

Definition at line 81 of file UpwardPlanarizationLayout.h.

◆ setUPRLayout()

void ogdf::UpwardPlanarizationLayout::setUPRLayout ( UPRLayoutModule pLayout)
inline

Definition at line 71 of file UpwardPlanarizationLayout.h.

◆ setUpwardPlanarizer()

void ogdf::UpwardPlanarizationLayout::setUpwardPlanarizer ( UpwardPlanarizerModule pUpwardPlanarizer)
inline

Definition at line 73 of file UpwardPlanarizationLayout.h.

Member Data Documentation

◆ m_cr_nr

int ogdf::UpwardPlanarizationLayout::m_cr_nr
protected

Definition at line 84 of file UpwardPlanarizationLayout.h.

◆ m_layout

std::unique_ptr<UPRLayoutModule> ogdf::UpwardPlanarizationLayout::m_layout
protected

Definition at line 87 of file UpwardPlanarizationLayout.h.

◆ m_numLevels

int ogdf::UpwardPlanarizationLayout::m_numLevels
protected

Definition at line 85 of file UpwardPlanarizationLayout.h.

◆ m_UpwardPlanarizer

std::unique_ptr<UpwardPlanarizerModule> ogdf::UpwardPlanarizationLayout::m_UpwardPlanarizer
protected

Definition at line 86 of file UpwardPlanarizationLayout.h.


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