#include <ogdf/upward/VisibilityLayout.h>
Inheritance diagram for ogdf::VisibilityLayout:Classes | |
| struct | EdgeSegment |
| struct | NodeSegment |
Public Member Functions | |
| VisibilityLayout () | |
| 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 | constructDualGraph (const UpwardPlanRep &UPR, Graph &D, node &s_D, node &t_D, FaceArray< node > &faceToNode, NodeArray< face > &leftFace_node, NodeArray< face > &rightFace_node, EdgeArray< face > &leftFace_edge, EdgeArray< face > &rightFace_edge) |
| void | constructVisibilityRepresentation (const UpwardPlanRep &UPR) |
Private Attributes | |
| EdgeArray< EdgeSegment > | edgeToVis |
| int | m_grid_dist |
| std::unique_ptr< UpwardPlanarizerModule > | m_upPlanarizer |
| NodeArray< NodeSegment > | nodeToVis |
Definition at line 51 of file VisibilityLayout.h.
|
inline |
Definition at line 53 of file VisibilityLayout.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 |
| void ogdf::VisibilityLayout::layout | ( | GraphAttributes & | GA, |
| const UpwardPlanRep & | UPROrig | ||
| ) |
|
inline |
Definition at line 67 of file VisibilityLayout.h.
|
inline |
Definition at line 63 of file VisibilityLayout.h.
|
private |
Definition at line 92 of file VisibilityLayout.h.
|
private |
Definition at line 72 of file VisibilityLayout.h.
|
private |
Definition at line 94 of file VisibilityLayout.h.
|
private |
Definition at line 89 of file VisibilityLayout.h.