Utilities for creating nice drawings. TODO should be moved to a central location. More...
Go to the source code of this file.
Namespaces | |
ogdf | |
The namespace for all OGDF objects. | |
Functions | |
void | ogdf::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 edge's length. More... | |
void | ogdf::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. More... | |
void | ogdf::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. More... | |
void | ogdf::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. More... | |
Variables | |
const std::array< Color, 63 > | ogdf::colors |
An array of 63 different colors to cycle through. More... | |
Utilities for creating nice drawings. TODO should be moved to a central location.
Definition in file Drawing.h.