|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
41 class GraphAttributes;
48 double max_spread = 0.6,
double max_abs = 100);
The namespace for all OGDF objects.
Includes declaration of graph class.
void fixLoops(Graph &G, const std::function< void(edge, edge)> &cb)
Safely call a function on all self-loops to, e.g., subdivide or remove them.
void fixParallels(Graph &G, const std::function< void(edge, edge)> &cb)
Safely call a function on all parallel edges to, e.g., subdivide or remove them.
void spreadParallels(GraphAttributes &GA, double min_spread=0.1, double max_spread=0.6, double max_abs=100)
A bends to parallel edges to make them distinguishable.
EdgeElement * edge
The type of edges.
const std::array< Color, 63 > colors
An array of 63 different colors to cycle through.
void bendEdge(GraphAttributes &GA, edge e, double bend)
Add a bendpoint to the middle of an edges that is shifted orthogonally by a certain fraction of the e...
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.