89 void pageRatio(
double ratio) { m_pageRatio = ratio; }
Declaration of interface for algorithms that arrange/pack layouts of connected components.
Handling of clique replacement in planarization layout.
Declaration of CrossingMinimization Module, an interface for crossing minimization algorithms.
Defines ogdf::EmbedderModule.
Declaration of interface for layout algorithms (class LayoutModule)
Declaration of interface for planar layout algorithms (used in planarization approach).
The parameterized class Array implements dynamic arrays of type E.
Base class of algorithms that arrange/pack layouts of connected components.
Base class for crossing minimization algorithms.
Base class for embedder algorithms.
Stores additional attributes of a graph (like layout information).
Data type for general directed graphs (adjacency list representation).
Stores a layout of a graph (coordinates of nodes, bend points of edges).
Interface of general layout algorithms.
Interface for planar layout algorithms (used in the planarization approach).
Doubly linked lists (maintaining the length of the list).
Dynamic arrays indexed with nodes.
Class for the representation of nodes.
Planarized representations (of a connected component) of a graph.
The planarization approach for drawing graphs.
double pageRatio() const
Returns the current setting of option pageRatio.
int minCliqueSize() const
Returns the current setting of option minCliqueSize.
void callSimDraw(GraphAttributes &ga)
int m_nCrossings
The number of crossings in the computed layout.
void minCliqueSize(int i)
Set the option minCliqueSize to i.
int m_cliqueSize
The minimum size of cliques to search for.
PlanarizationLayout()
Creates an instance of planarization layout and sets options to default values.
void setEmbedder(EmbedderModule *pEmbedder)
Sets the module option for the graph embedding algorithm.
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.
std::unique_ptr< CrossingMinimizationModule > m_crossMin
The module for computing a planar subgraph.
void pageRatio(double ratio)
Sets the option pageRatio to ratio.
void setPlanarLayouter(LayoutPlanRepModule *pPlanarLayouter)
Sets the module option for the planar layout algorithm.
std::unique_ptr< EmbedderModule > m_embedder
The module for planar embedding.
void call(GraphAttributes &ga, Graph &g)
Calls planarization layout with clique handling for GraphAttributes ga with associated graph g.
~PlanarizationLayout()
Destructor.
void call(GraphAttributes &ga) override
Calls planarization layout for GraphAttributes ga.
double m_pageRatio
The desired page ratio.
int numberOfCrossings() const
Returns the number of crossings in the computed layout.
void preprocessCliques(Graph &G, CliqueReplacer &cliqueReplacer)
std::unique_ptr< LayoutPlanRepModule > m_planarLayouter
The module for computing a planar layout.
void setCrossMin(CrossingMinimizationModule *pCrossMin)
Sets the module option for crossing minimization.
void arrangeCCs(PlanRep &PG, GraphAttributes &GA, Array< DPoint > &boundingBox) const
void fillAdjNodes(List< node > &adjNodes, PlanRep &PG, node centerNode, NodeArray< bool > &isClique, Layout &drawing)
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.