Open
Graph Drawing
Framework

 v.2012.05
 

ogdf::UPRLayoutModule Class Reference

Interface of hierarchy layout algorithms. More...

#include <ogdf/module/UPRLayoutModule.h>

Inheritance diagram for ogdf::UPRLayoutModule:
ogdf::LayerBasedUPRLayout

List of all members.

Public Member Functions

 UPRLayoutModule ()
 Initializes a upward planarized representation layout module.
virtual ~UPRLayoutModule ()
void call (const UpwardPlanRep &UPR, GraphAttributes &AG)
 Computes a upward layout of UPR in AG.

Public Attributes

int numberOfLevels

Protected Member Functions

virtual void doCall (const UpwardPlanRep &UPR, GraphAttributes &AG)=0
 Implements the actual algorithm call.

Detailed Description

Interface of hierarchy layout algorithms.

See also:
SugiyamaLayout

Definition at line 63 of file UPRLayoutModule.h.


Constructor & Destructor Documentation

Initializes a upward planarized representation layout module.

Definition at line 66 of file UPRLayoutModule.h.

virtual ogdf::UPRLayoutModule::~UPRLayoutModule ( ) [inline, virtual]

Definition at line 68 of file UPRLayoutModule.h.


Member Function Documentation

void ogdf::UPRLayoutModule::call ( const UpwardPlanRep UPR,
GraphAttributes AG 
) [inline]

Computes a upward layout of UPR in AG.

Parameters:
UPRis the upward planarized representation of the input graph. The original graph of UPR muss be the input graph.
AGis assigned the hierarchy layout.

Definition at line 75 of file UPRLayoutModule.h.

virtual void ogdf::UPRLayoutModule::doCall ( const UpwardPlanRep UPR,
GraphAttributes AG 
) [protected, pure virtual]

Implements the actual algorithm call.

Must be implemented by derived classes.

Parameters:
UPRis the upward planarized representation of the input graph. The original graph of UPR muss be the input graph.
AGhas to be assigned the hierarchy layout.

Implemented in ogdf::LayerBasedUPRLayout.


Member Data Documentation


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