Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
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
39namespace ogdf {
40class ClusterGraphAttributes;
41class ExtendedNestingGraph;
42
49public:
52
54
61 ClusterGraphCopyAttributes ACGC(H, ACG);
62 doCall(H, ACGC);
63 ACGC.transform();
64 }
65
66protected:
75 virtual void doCall(const ExtendedNestingGraph& H, ClusterGraphCopyAttributes& ACGC) = 0;
76
78};
79
80}
Declares ClusterGraphCopyAttributes, which manages access on copy of an attributed clustered graph.
Basic declarations, included by all source files.
Stores additional attributes of a clustered graph (like layout information).
Manages access on copy of an attributed clustered graph.
void transform()
Sets attributes for the original graph in attributed graph.
Interface of hierarchy layout algorithms for cluster graphs.
virtual void doCall(const ExtendedNestingGraph &H, ClusterGraphCopyAttributes &ACGC)=0
Implements the actual algorithm call.
void callCluster(const ExtendedNestingGraph &H, ClusterGraphAttributes &ACG)
Computes a hierarchy layout of a clustered hierarchy H in ACG.
HierarchyClusterLayoutModule()
Initializes a hierarchy cluster layout module.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition config.h:117
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition memory.h:92
Declaration of memory manager for allocating small pieces of memory.
The namespace for all OGDF objects.