105 m_cliqueSize = max(i, 3);
116 m_crossMin.reset(pCrossMin);
126 m_embedder.reset(pEmbedder);
139 m_planarLayouter.reset(pPlanarLayouter);
149 m_packer.reset(pPacker);
157 int numberOfCrossings()
const {
Declaration of CrossingMinimization Module, an interface for crossing minimization algorithms...
The parameterized class Array implements dynamic arrays of type E.
The planarization approach for drawing graphs.
Data type for general directed graphs (adjacency list representation).
void setPlanarLayouter(LayoutPlanRepModule *pPlanarLayouter)
Sets the module option for the planar layout algorithm.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
void pageRatio(double ratio)
Sets the option pageRatio to ratio.
Handling of clique replacement in planarization layout.
std::unique_ptr< CCLayoutPackModule > m_packer
The module for arranging connected components.
Declaration of interface for embedder for graphs.
Interface for planar layout algorithms (used in the planarization approach).
~PlanarizationLayout()
Destructor.
int minCliqueSize() const
Returns the current setting of option minCliqueSize.
double pageRatio() const
Returns the current setting of option pageRatio.
Stores additional attributes of a graph (like layout information).
Doubly linked lists (maintaining the length of the list).
Base class of algorithms that arrange/pack layouts of connected components.
std::unique_ptr< LayoutPlanRepModule > m_planarLayouter
The module for computing a planar layout.
Declaration of interface for layout algorithms (class LayoutModule)
Class for the representation of nodes.
Interface of general layout algorithms.
void setEmbedder(EmbedderModule *pEmbedder)
Sets the module option for the graph embedding algorithm.
std::unique_ptr< EmbedderModule > m_embedder
The module for planar embedding.
std::unique_ptr< CrossingMinimizationModule > m_crossMin
The module for computing a planar subgraph.
double m_pageRatio
The desired page ratio.
int m_nCrossings
The number of crossings in the computed layout.
The namespace for all OGDF objects.
Base class for embedder algorithms.
void setPacker(CCLayoutPackModule *pPacker)
Sets the module option for the arrangement of connected components.
Base class for crossing minimization algorithms.
void minCliqueSize(int i)
Set the option minCliqueSize to i.
int m_cliqueSize
The minimum size of cliques to search for.
Planarized representations (of a connected component) of a graph.
Declaration of interface for algorithms that arrange/pack layouts of connected components.
Declaration of interface for planar layout algorithms (used in planarization approach).
Stores a layout of a graph (coordinates of nodes, bend points of edges).