138 m_planarLayouter.reset(pPlanarLayouter);
Declaration of interface for algorithms that arrange/pack layouts of connected components.
Declaration of CrossingMinimization Module, an interface for crossing minimization algorithms.
Declaration of interface for grid layout algorithms.
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
Basic declarations, included by all source files.
Base class of algorithms that arrange/pack layouts of connected components.
Base class for crossing minimization algorithms.
Data type for general directed graphs (adjacency list representation).
Representation of a graph's grid layout.
Base class for grid layout algorithms.
Base class for grid layout algorithms operating on a PlanRep.
The planarization grid layout algorithm.
void setPlanarLayouter(GridLayoutPlanRepModule *pPlanarLayouter)
Sets the module option for the planar grid layout algorithm.
std::unique_ptr< GridLayoutPlanRepModule > m_planarLayouter
The module for computing a planar grid layout.
std::unique_ptr< CCLayoutPackModule > m_packer
The module for arranging connected components.
void setPacker(CCLayoutPackModule *pPacker)
Sets the module option for the arrangement of connected components.
void pageRatio(double ratio)
Sets the option pageRatio to ratio.
virtual void doCall(const Graph &G, GridLayout &gridLayout, IPoint &boundingBox) override
Implements the algorithm call.
double m_pageRatio
The desired page ratio.
double pageRatio() const
Returns the current setting of option pageRatio.
~PlanarizationGridLayout()
PlanarizationGridLayout()
Creates an instance of planarization layout and sets options to default values.
std::unique_ptr< CrossingMinimizationModule > m_crossMin
The module for computing a planar subgraph.
int numberOfCrossings() const
Returns the number of crossings in computed layout.
int m_nCrossings
The number of crossings in the computed layout.
void setCrossMin(CrossingMinimizationModule *pCrossMin)
Sets the module option for crossing minimization.
#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.