Tutte's method for graph layout.
More...
#include <ogdf/energybased/TutteLayout.h>
|
| static bool | solveLP (int cols, const CoinPackedMatrix &Matrix, const Array< double > &rightHandSide, Array< double > &x) |
| |
Tutte's method for graph layout.
Definition at line 57 of file TutteLayout.h.
◆ TutteLayout()
| ogdf::TutteLayout::TutteLayout |
( |
| ) |
|
◆ ~TutteLayout()
| ogdf::TutteLayout::~TutteLayout |
( |
| ) |
|
|
inline |
◆ bbox() [1/2]
| DRect ogdf::TutteLayout::bbox |
( |
| ) |
const |
|
inline |
◆ bbox() [2/2]
| void ogdf::TutteLayout::bbox |
( |
const DRect & |
bb | ) |
|
|
inline |
◆ call() [1/2]
Computes a layout of graph GA.
This method is the actual algorithm call and must be implemented by derived classes.
- Parameters
-
| GA | is the input graph and will also be assigned the layout information. |
Implements ogdf::LayoutModule.
◆ call() [2/2]
◆ doCall()
the method is overloaded for a given set of nodes.
◆ setFixedNodes() [1/2]
| void ogdf::TutteLayout::setFixedNodes |
( |
const Graph & |
G, |
|
|
List< node > & |
nodes, |
|
|
List< DPoint > & |
pos, |
|
|
double |
radius = 1.0 |
|
) |
| |
|
private |
◆ setFixedNodes() [2/2]
| void ogdf::TutteLayout::setFixedNodes |
( |
const Graph & |
G, |
|
|
List< node > & |
nodes, |
|
|
const List< node > & |
givenNodes, |
|
|
List< DPoint > & |
pos, |
|
|
double |
radius = 1.0 |
|
) |
| |
|
private |
sets the positions of the nodes in a largest face of $G$ in the form of a regular $k$-gon with the prescribed radius.
The corresponding nodes and their positions are stored in nodes and pos, respectively. $G$ does not have to be planar!
◆ solveLP()
| static bool ogdf::TutteLayout::solveLP |
( |
int |
cols, |
|
|
const CoinPackedMatrix & |
Matrix, |
|
|
const Array< double > & |
rightHandSide, |
|
|
Array< double > & |
x |
|
) |
| |
|
staticprivate |
◆ m_bbox
| DRect ogdf::TutteLayout::m_bbox |
|
private |
The documentation for this class was generated from the following file: