41namespace energybased {
63 down_left_corner =
d_l_c;
Declaration of class EdgeAttributes.
Includes declaration of graph class.
Declaration and implementation of NodeArray class.
Declaration of class NodeAttributes.
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
Data type for general directed graphs (adjacency list representation).
Dynamic arrays indexed with nodes.
int max_gridindex
maximum index of a grid row/column
int grid_quotient() const
DPoint down_left_corner
down left corner of drawing box
int _grid_quotient
for coarsening the FrRe-grid
void update_boxlength_and_cornercoordinate(double b_l, DPoint d_l_c)
Import updated information of the drawing area.
void calculate_approx_repulsive_forces(const Graph &G, NodeArray< NodeAttributes > &A, NodeArray< DPoint > &F_rep)
Grid approximation of rep.forces for each node.
void make_initialisations(double boxlength, DPoint down_left_corner, int grid_quotient)
Make all initialisations that are needed for FruchtermanReingold.
void grid_quotient(int p)
The number k of rows and colums of the grid is sqrt(|V|) / frGridQuotient() (Note that in [FrRe] frGr...
FruchtermanReingold()
Constructor.
void calculate_exact_repulsive_forces(const Graph &G, NodeArray< NodeAttributes > &A, NodeArray< DPoint > &F_rep)
Calculate exact rep. forces for each node.
double boxlength
length of drawing box
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.