Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

HierarchyClusterLayoutModule.h
Go to the documentation of this file.
1 
33 #pragma once
34 
35 #include <ogdf/basic/basic.h>
36 #include <ogdf/basic/memory.h>
38 
39 namespace ogdf {
40 class ClusterGraphAttributes;
41 class ExtendedNestingGraph;
42 
49 public:
52 
54 
61  ClusterGraphCopyAttributes ACGC(H, ACG);
62  doCall(H, ACGC);
63  ACGC.transform();
64  }
65 
66 protected:
75  virtual void doCall(const ExtendedNestingGraph& H, ClusterGraphCopyAttributes& ACGC) = 0;
76 
78 };
79 
80 }
ogdf::HierarchyClusterLayoutModule::HierarchyClusterLayoutModule
HierarchyClusterLayoutModule()
Initializes a hierarchy cluster layout module.
Definition: HierarchyClusterLayoutModule.h:51
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
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:60
ogdf::HierarchyClusterLayoutModule::~HierarchyClusterLayoutModule
virtual ~HierarchyClusterLayoutModule()
Definition: HierarchyClusterLayoutModule.h:53
ogdf::HierarchyClusterLayoutModule
Interface of hierarchy layout algorithms for cluster graphs.
Definition: HierarchyClusterLayoutModule.h:48
ogdf::ClusterGraphAttributes
Stores additional attributes of a clustered graph (like layout information).
Definition: ClusterGraphAttributes.h:52
OGDF_MALLOC_NEW_DELETE
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition: memory.h:92
ogdf::ClusterGraphCopyAttributes
Manages access on copy of an attributed clustered graph.
Definition: ClusterGraphCopyAttributes.h:48
ClusterGraphCopyAttributes.h
Declares ClusterGraphCopyAttributes, which manages access on copy of an attributed clustered graph.
basic.h
Basic declarations, included by all source files.
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:302
memory.h
Declaration of memory manager for allocating small pieces of memory.