130 m_crossMin.reset(pCrossMin);
145 m_planarLayouter.reset(pPlanarLayouter);
156 m_packer.reset(pPacker);
165 int numberOfCrossings()
const {
Representation of a graph's grid layout.
Declaration of CrossingMinimization Module, an interface for crossing minimization algorithms...
Base class for grid layout algorithms.
std::unique_ptr< CrossingMinimizationModule > m_crossMin
The module for computing a planar subgraph.
void setPlanarLayouter(GridLayoutPlanRepModule *pPlanarLayouter)
Sets the module option for the planar grid layout algorithm.
Data type for general directed graphs (adjacency list representation).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
void setPacker(CCLayoutPackModule *pPacker)
Sets the module option for the arrangement of connected components.
Base class for grid layout algorithms operating on a PlanRep.
int m_nCrossings
The number of crossings in the computed layout.
~PlanarizationGridLayout()
Declaration of interface for grid layout algorithms.
void pageRatio(double ratio)
Sets the option pageRatio to ratio.
double pageRatio() const
Returns the current setting of option pageRatio.
double m_pageRatio
The desired page ratio.
Base class of algorithms that arrange/pack layouts of connected components.
The planarization grid layout algorithm.
std::unique_ptr< CCLayoutPackModule > m_packer
The module for arranging connected components.
The namespace for all OGDF objects.
Base class for crossing minimization algorithms.
std::unique_ptr< GridLayoutPlanRepModule > m_planarLayouter
The module for computing a planar grid layout.
Declaration of interface for algorithms that arrange/pack layouts of connected components.