Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

LayoutClusterPlanRepModule.h
Go to the documentation of this file.
1 
33 #pragma once
34 
36 #include <ogdf/basic/Layout.h>
37 
38 
39 
40 namespace ogdf {
41 
49 public:
52 
54 
64  virtual void call(
65  ClusterPlanRep &PG,
66  adjEntry adjExternal,
67  Layout &drawing,
68  List<edge>& origEdges,
69  Graph& originalGraph) = 0;
70 
71 
73  const DPoint &getBoundingBox() const {
74  return m_boundingBox;
75  }
76 
78  virtual void setOptions(int /* optionField */) { }
79  // don't make it abstract!
80 
82  virtual int getOptions() { return 0; }
83  // don't make it abstract!
84 
86  virtual double separation() const = 0;
87 
89  virtual void separation(double sep) = 0;
90 
91 protected:
97 
99 };
100 
101 }
const DPoint & getBoundingBox() const
Returns the bounding box of the computed layout.
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:492
#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
Declaration of ClusterPlanRep class, allowing cluster boundary insertion and shortest path edge inser...
virtual int getOptions()
Returns the (generic) options.
Declaration of class Layout.
Planarized representations for clustered graphs.
LayoutClusterPlanRepModule()
Initializes a cluster planar layout module.
Interface for planar cluster layout algorithms.
The namespace for all OGDF objects.
Class for adjacency list elements.
Definition: Graph_d.h:79
virtual void setOptions(int)
Sets the (generic) options; derived classes have to cope with the interpretation) ...
DPoint m_boundingBox
Stores the bounding box of the computed layout.
Stores a layout of a graph (coordinates of nodes, bend points of edges).
Definition: Layout.h:46