void setUPRLayout(UPRLayoutModule *pLayout)
Takes an acyclic connected non-upward-planar graph and planarizes it, i.e., we obtain an upward-plana...
Interface for upward planarization algorithms.
std::unique_ptr< UPRLayoutModule > m_layout
virtual void call(GraphAttributes &GA) override
Computes a layout of graph GA.
Declaration of a base class for planar representations of graphs and cluster graphs.
Upward planarized representations (of a connected component) of a graph.
void createEmpty(const Graph &G)
Associates the graph copy with G, but does not create any nodes or edges.
Interface of hierarchy layout algorithms.
int numberOfCrossings() const
Declaration of class SubgraphUpwardPlanarizer.
Stores additional attributes of a graph (like layout information).
std::unique_ptr< UpwardPlanarizerModule > m_UpwardPlanarizer
Declaration of interface for layout algorithms (class LayoutModule)
const Graph & constGraph() const
Returns a reference to the associated graph.
int numberOfCrossings() const
Interface of general layout algorithms.
int numberOfLevels() const
The namespace for all OGDF objects.
int numberOfNodes() const
Returns the number of nodes in the graph.
Declaration of upward planarization layout algorithm.
void setUpwardPlanarizer(UpwardPlanarizerModule *pUpwardPlanarizer)
UpwardPlanarizationLayout()