Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

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