52 : m_pSubLayoutModule(pSubLayoutModule) {
55 m_bottomMargin = 10.0;
59 void setMargins(
double left,
double top,
double right,
double bottom) {
61 m_rightMargin = right;
62 m_bottomMargin = bottom;
Declaration of interface for layout algorithms (class LayoutModule)
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
Basic declarations, included by all source files.
Stores additional attributes of a graph (like layout information).
Interface of general layout algorithms.
Splits and packs the components of a Graph.
SimpleCCPacker(LayoutModule *pSubLayoutModule=nullptr)
Constructor.
std::unique_ptr< LayoutModule > m_pSubLayoutModule
virtual void call(GraphAttributes &GA) override
Computes a layout of graph GA.
void setMargins(double left, double top, double right, double bottom)
void computeBoundingBox(const GraphAttributes &graphAttributes, DPoint &min_coord, DPoint &max_coord)
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
The namespace for all OGDF objects.