Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::HierarchyClusterLayoutModule Class Referenceabstract

Interface of hierarchy layout algorithms for cluster graphs. More...

#include <ogdf/layered/HierarchyClusterLayoutModule.h>

+ Inheritance diagram for ogdf::HierarchyClusterLayoutModule:

Public Member Functions

 HierarchyClusterLayoutModule ()
 Initializes a hierarchy cluster layout module. More...
 
virtual ~HierarchyClusterLayoutModule ()
 
void callCluster (const ExtendedNestingGraph &H, ClusterGraphAttributes &ACG)
 Computes a hierarchy layout of a clustered hierarchy H in ACG. More...
 

Protected Member Functions

virtual void doCall (const ExtendedNestingGraph &H, ClusterGraphCopyAttributes &ACGC)=0
 Implements the actual algorithm call. More...
 

Detailed Description

Interface of hierarchy layout algorithms for cluster graphs.

See also
SugiyamaLayout

Definition at line 48 of file HierarchyClusterLayoutModule.h.

Constructor & Destructor Documentation

◆ HierarchyClusterLayoutModule()

ogdf::HierarchyClusterLayoutModule::HierarchyClusterLayoutModule ( )
inline

Initializes a hierarchy cluster layout module.

Definition at line 51 of file HierarchyClusterLayoutModule.h.

◆ ~HierarchyClusterLayoutModule()

virtual ogdf::HierarchyClusterLayoutModule::~HierarchyClusterLayoutModule ( )
inlinevirtual

Definition at line 53 of file HierarchyClusterLayoutModule.h.

Member Function Documentation

◆ callCluster()

void ogdf::HierarchyClusterLayoutModule::callCluster ( const ExtendedNestingGraph H,
ClusterGraphAttributes ACG 
)
inline

Computes a hierarchy layout of a clustered hierarchy H in ACG.

Parameters
His the input clustered hierarchy.
ACGis assigned the cluster hierarchy layout.

Definition at line 60 of file HierarchyClusterLayoutModule.h.

◆ doCall()

virtual void ogdf::HierarchyClusterLayoutModule::doCall ( const ExtendedNestingGraph H,
ClusterGraphCopyAttributes ACGC 
)
protectedpure virtual

Implements the actual algorithm call.

Must be implemented by derived classes.

Parameters
His the input clustered hierarchy.
ACGChas to be assigned the cluster hierarchy layout.

Implemented in ogdf::OptimalHierarchyClusterLayout.


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