69 call(PG,adjExternal,drawing);
78 virtual double separation()
const = 0;
81 virtual void separation(
double sep) = 0;
void operator()(PlanRep &PG, adjEntry adjExternal, Layout &drawing)
Computes a planar layout of PG in drawing.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
virtual ~LayoutPlanRepModule()
Destructor.
Declaration of a base class for planar representations of graphs and cluster graphs.
void setBoundingBox(PlanRep &PG, Layout &drawing)
Computes and sets the bounding box variable m_boundingBox.
LayoutPlanRepModule()
Initializes a planar layout module.
Interface for planar layout algorithms (used in the planarization approach).
Declaration of class Layout.
DPoint m_boundingBox
Stores the bounding box of the computed layout.
DPoint computeBoundingBox(PlanRep &PG) const
Computes the bounding box of the layout, which is a drawing of PG.
The namespace for all OGDF objects.
const DPoint & getBoundingBox() const
Returns the bounding box of the computed layout.
Class for adjacency list elements.
Planarized representations (of a connected component) of a graph.
Stores a layout of a graph (coordinates of nodes, bend points of edges).