43namespace energybased {
65 down_left_corner = d_l_c;
Includes declaration of graph class.
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
Basic declarations, included by all source files.
Data type for general directed graphs (adjacency list representation).
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
RegisteredArray for nodes, edges and adjEntries of a graph.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
The namespace for all OGDF objects.