Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

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 
65  virtual void call(
66  ClusterPlanRep &PG,
67  adjEntry adjExternal,
68  Layout &drawing,
69  List<NodePair>& npEdges,
70  List<edge>& newEdges,
71  Graph& originalGraph) = 0;
72 
73 
75  const DPoint &getBoundingBox() const {
76  return m_boundingBox;
77  }
78 
80  virtual void setOptions(int /* optionField */) { } //don't make it abstract
81 
83  virtual int getOptions() { return 0; } //don't make it abstract
84 
86  virtual double separation() const = 0;
87 
89  virtual void separation(double sep) = 0;
90 
91 protected:
97 
98 
100 };
101 
102 
103 } // end namespace ogdf
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:472
#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.
Real points.
Definition: geometry.h:219
Declaration of class Layout.
Doubly linked lists (maintaining the length of the list).
Definition: List.h:39
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:78
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