48 double max_spread = 0.6,
double max_abs = 100);
Includes declaration of graph class.
Basic declarations, included by all source files.
Class for the representation of edges.
Stores additional attributes of a graph (like layout information).
Data type for general directed graphs (adjacency list representation).
#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.
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.
const std::array< Color, 63 > colors
An array of 63 different colors to cycle through.
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 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.
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...