Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

HierarchyClusterLayoutModule.h
Go to the documentation of this file.
1 
33 #pragma once
34 
36 
37 namespace ogdf {
38 
39 
46 public:
49 
51 
58  ClusterGraphCopyAttributes ACGC(H, ACG);
59  doCall(H, ACGC);
60  ACGC.transform();
61  }
62 
63 protected:
72  virtual void doCall(const ExtendedNestingGraph& H, ClusterGraphCopyAttributes& ACGC) = 0;
73 
75 };
76 
77 }
ogdf::HierarchyClusterLayoutModule::HierarchyClusterLayoutModule
HierarchyClusterLayoutModule()
Initializes a hierarchy cluster layout module.
Definition: HierarchyClusterLayoutModule.h:48
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
ogdf::ClusterGraphCopyAttributes::transform
void transform()
Sets attributes for the original graph in attributed graph.
ogdf::HierarchyClusterLayoutModule::callCluster
void callCluster(const ExtendedNestingGraph &H, ClusterGraphAttributes &ACG)
Computes a hierarchy layout of a clustered hierarchy H in ACG.
Definition: HierarchyClusterLayoutModule.h:57
ogdf::HierarchyClusterLayoutModule::~HierarchyClusterLayoutModule
virtual ~HierarchyClusterLayoutModule()
Definition: HierarchyClusterLayoutModule.h:50
ogdf::HierarchyClusterLayoutModule
Interface of hierarchy layout algorithms for cluster graphs.
Definition: HierarchyClusterLayoutModule.h:45
ogdf::ClusterGraphAttributes
Stores additional attributes of a clustered graph (like layout information).
Definition: ClusterGraphAttributes.h:46
OGDF_MALLOC_NEW_DELETE
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition: memory.h:91
ogdf::ClusterGraphCopyAttributes
Manages access on copy of an attributed clustered graph.
Definition: ClusterGraphCopyAttributes.h:45
ClusterGraphCopyAttributes.h
Declares ClusterGraphCopyAttributes, which manages access on copy of an attributed clustered graph.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::ExtendedNestingGraph
Definition: ExtendedNestingGraph.h:295