Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
LayoutClusterPlanRepModule.h
Go to the documentation of this file.
1
33#pragma once
34
35#include <ogdf/basic/Layout.h>
37
38namespace ogdf {
39
47public:
50
52
63 List<edge>& origEdges, Graph& originalGraph) = 0;
64
66 const DPoint& getBoundingBox() const { return m_boundingBox; }
67
69 virtual void setOptions(int /* optionField */) { }
70
71 // don't make it abstract!
72
74 virtual int getOptions() { return 0; }
75
76 // don't make it abstract!
77
79 virtual double separation() const = 0;
80
82 virtual void separation(double sep) = 0;
83
84protected:
90
92};
93
94}
Declaration of ClusterPlanRep class, allowing cluster boundary insertion and shortest path edge inser...
Declaration of class Layout.
Class for adjacency list elements.
Definition Graph_d.h:79
Planarized representations for clustered graphs.
Data type for general directed graphs (adjacency list representation).
Definition Graph_d.h:521
Interface for planar cluster layout algorithms.
virtual int getOptions()
Returns the (generic) options.
virtual void call(ClusterPlanRep &PG, adjEntry adjExternal, Layout &drawing, List< edge > &origEdges, Graph &originalGraph)=0
Computes a layout of PG in drawing.
virtual double separation() const =0
Returns the minimal allowed distance between edges and vertices.
LayoutClusterPlanRepModule()
Initializes a cluster planar layout module.
const DPoint & getBoundingBox() const
Returns the bounding box of the computed layout.
virtual void separation(double sep)=0
Sets the minimal allowed distance between edges and vertices to sep.
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
Doubly linked lists (maintaining the length of the list).
Definition List.h:1435
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition config.h:101
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition memory.h:91
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.