Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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

Interface for simdraw manipulators. More...

#include <ogdf/simultaneous/SimDrawManipulatorModule.h>

+ Inheritance diagram for ogdf::SimDrawManipulatorModule:

Public Member Functions

 SimDrawManipulatorModule ()
 default constructor
 
 SimDrawManipulatorModule (SimDraw &SD)
 constructor
 
const SimDrawconstSimDraw () const
 returns base instance
 
void init (SimDraw &SD)
 initializing base instance
 

Protected Attributes

Graphm_G
 pointer to current graph
 
GraphAttributesm_GA
 pointer to current graphattributes
 
SimDrawm_SD
 pointer to current simdraw instance
 

Detailed Description

Interface for simdraw manipulators.

To avoid class SimDraw to become too large, several functions have been outsourced. These are systematically grouped in creation methods (SimDrawCreator), algorithm calls (SimDrawCaller) and coloring methods (SimDrawColorizer).

A manipulator instance always needs a SimDraw instance (base instance) to work on. The base instance is linked by pointers, thus a change within the base instance after initializing does not cause trouble:

SDCr.createTrees_GKV05(4);
SDCa.callUMLPlanarizationLayout();
SDCo.addColor();
Calls modified algorithms for simdraw instances.
Adds color to a graph.
Offers predefined SimDraw creations.
The Base class for simultaneous graph drawing.
Definition SimDraw.h:50
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()

Definition at line 58 of file SimDrawManipulatorModule.h.

Constructor & Destructor Documentation

◆ SimDrawManipulatorModule() [1/2]

ogdf::SimDrawManipulatorModule::SimDrawManipulatorModule ( )

default constructor

creates its own simdraw instance

◆ SimDrawManipulatorModule() [2/2]

ogdf::SimDrawManipulatorModule::SimDrawManipulatorModule ( SimDraw SD)
inlineexplicit

constructor

Definition at line 76 of file SimDrawManipulatorModule.h.

Member Function Documentation

◆ constSimDraw()

const SimDraw & ogdf::SimDrawManipulatorModule::constSimDraw ( ) const
inline

returns base instance

Definition at line 82 of file SimDrawManipulatorModule.h.

◆ init()

void ogdf::SimDrawManipulatorModule::init ( SimDraw SD)

initializing base instance

Member Data Documentation

◆ m_G

Graph* ogdf::SimDrawManipulatorModule::m_G
protected

pointer to current graph

Definition at line 64 of file SimDrawManipulatorModule.h.

◆ m_GA

GraphAttributes* ogdf::SimDrawManipulatorModule::m_GA
protected

pointer to current graphattributes

Definition at line 67 of file SimDrawManipulatorModule.h.

◆ m_SD

SimDraw* ogdf::SimDrawManipulatorModule::m_SD
protected

pointer to current simdraw instance

Definition at line 61 of file SimDrawManipulatorModule.h.


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