#include <ogdf/upward/DominanceLayout.h>
Public Member Functions | |
DominanceLayout () | |
virtual void | call (GraphAttributes &GA) override |
Computes a layout of graph GA . | |
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. | |
virtual | ~LayoutModule () |
void | operator() (GraphAttributes &GA) |
Computes a layout of graph GA . | |
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 49 of file DominanceLayout.h.
|
inline |
Definition at line 51 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 | ||
) |
Definition at line 67 of file DominanceLayout.h.
|
inline |
Definition at line 63 of file DominanceLayout.h.
Definition at line 75 of file DominanceLayout.h.
Definition at line 73 of file DominanceLayout.h.
Definition at line 76 of file DominanceLayout.h.
Definition at line 74 of file DominanceLayout.h.
|
private |
Definition at line 71 of file DominanceLayout.h.
|
private |
Definition at line 95 of file DominanceLayout.h.
|
private |
Definition at line 79 of file DominanceLayout.h.
|
private |
Definition at line 78 of file DominanceLayout.h.
|
private |
Definition at line 97 of file DominanceLayout.h.
Definition at line 90 of file DominanceLayout.h.
Definition at line 82 of file DominanceLayout.h.
Definition at line 86 of file DominanceLayout.h.
Definition at line 91 of file DominanceLayout.h.
Definition at line 83 of file DominanceLayout.h.
Definition at line 87 of file DominanceLayout.h.