#include <ogdf/upward/DominanceLayout.h>
Public Member Functions | |
DominanceLayout () | |
virtual void | call (GraphAttributes &GA) override |
Computes a layout of graph GA . More... | |
void | layout (GraphAttributes &GA, const UpwardPlanRep &UPROrig) |
void | setMinGridDistance (int dist) |
void | setUpwardPlanarizer (UpwardPlanarizerModule *upPlanarizer) |
Public Member Functions inherited from ogdf::LayoutModule | |
LayoutModule () | |
Initializes a layout module. More... | |
virtual | ~LayoutModule () |
void | operator() (GraphAttributes &GA) |
Computes a layout of graph GA . More... | |
Private Member Functions | |
void | compact (const UpwardPlanRep &UPR, GraphAttributes &GA) |
void | findTransitiveEdges (const UpwardPlanRep &UPR, List< edge > &edges) |
void | labelX (const UpwardPlanRep &UPR, node v, int &count) |
void | labelY (const UpwardPlanRep &UPR, node v, int &count) |
Private Attributes | |
NodeArray< edge > | firstin |
NodeArray< edge > | firstout |
NodeArray< edge > | lastin |
NodeArray< edge > | lastout |
double | m_angle |
int | m_grid_dist |
int | m_L |
int | m_R |
std::unique_ptr< UpwardPlanarizerModule > | m_upPlanarizer |
NodeArray< int > | xCoord |
List< node > | xNodes |
NodeArray< int > | xPreCoord |
NodeArray< int > | yCoord |
List< node > | yNodes |
NodeArray< int > | yPreCoord |
Definition at line 52 of file DominanceLayout.h.
|
inline |
Definition at line 54 of file DominanceLayout.h.
|
overridevirtual |
Computes a layout of graph GA
.
This method is the actual algorithm call and must be implemented by derived classes.
GA | is the input graph and will also be assigned the layout information. |
Implements ogdf::LayoutModule.
|
private |
|
private |
|
private |
|
private |
void ogdf::DominanceLayout::layout | ( | GraphAttributes & | GA, |
const UpwardPlanRep & | UPROrig | ||
) |
|
inline |
Definition at line 70 of file DominanceLayout.h.
|
inline |
Definition at line 66 of file DominanceLayout.h.
Definition at line 78 of file DominanceLayout.h.
Definition at line 76 of file DominanceLayout.h.
Definition at line 79 of file DominanceLayout.h.
Definition at line 77 of file DominanceLayout.h.
|
private |
Definition at line 74 of file DominanceLayout.h.
|
private |
Definition at line 98 of file DominanceLayout.h.
|
private |
Definition at line 82 of file DominanceLayout.h.
|
private |
Definition at line 81 of file DominanceLayout.h.
|
private |
Definition at line 100 of file DominanceLayout.h.
|
private |
Definition at line 93 of file DominanceLayout.h.
Definition at line 85 of file DominanceLayout.h.
|
private |
Definition at line 89 of file DominanceLayout.h.
|
private |
Definition at line 94 of file DominanceLayout.h.
Definition at line 86 of file DominanceLayout.h.
|
private |
Definition at line 90 of file DominanceLayout.h.