|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
48 class GraphAttributes;
73 void iterno(
int no) { userIterNo = no; }
80 void reqlength(
double length) { userReqLength = length; }
157 for (i = 0; i < 9; i++) {
158 R[i] = std::numeric_limits<double>::max();
a structure which stores the projection of a node on an edge
The namespace for all OGDF objects.
int iter_no
req_length is the required edge length
Stores additional attributes of a graph (like layout information).
Includes declaration of graph class.
int iterno()
Returns the number of iterations.
Planarized representations (of a connected component) of a graph.
NodeArray< double > F_y
Force in x direction.
void iterno(int no)
Sets the number of iterations. If no <= 0, 10*n will be used.
void initialize()
Ri is radius of ith section.
Objects of this class are members of the containment heirarchy made in preprocessing stage of ImPrEd.
Copies of graphs supporting edge splitting.
Declaration of interface for layout algorithms (class LayoutModule)
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
double userReqLength
Force in y direction.
List< CCElement * > child
NodeArray< double > F_x
Sections associated with all nodes.
bool impred
number of iterations to be performed
const T & move(const T &v)
double userIterNo
required edge length set by the user
Doubly linked lists (maintaining the length of the list).
RegisteredArray for nodes, edges and adjEntries of a graph.
double req_length
number of iterations set by the user
Basic declarations, included by all source files.
The sections associated with each node.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
NodeArray< BertaultSections > sect
Class for the representation of edges.
Declaration of doubly linked lists and iterators.
void reqlength(double length)
Sets the required length. If length <= 0, the average edge length will be used.
Declaration and implementation of class Array2D which implements dynamic two dimensional arrays.
Class for the representation of nodes.
Declaration of memory manager for allocating small pieces of memory.
Array2D< bool > surr
sets the algorithm to ImPrEd when true
double reqlength()
Returns the required length.
Interface of general layout algorithms.
void clear()
Removes all elements from the list.
void nodeDistribution(const Graph &G, Array< int > °dist, std::function< int(node)> func)
Fills dist with the distribution given by a function func in graph G.
void setImpred(bool option)
Sets impred option true or false.