Enumerations | |
enum | abstractMixedGraph::TOptAlign { abstractMixedGraph::ALIGN_OPTIMIZE = 0, abstractMixedGraph::ALIGN_LEFT = 1, abstractMixedGraph::ALIGN_CENTER = 2, abstractMixedGraph::ALIGN_FDP = 3, abstractMixedGraph::ALIGN_RIGHT = 4 } |
enum | abstractMixedGraph::TOptLayered { abstractMixedGraph::LAYERED_DEFAULT = -1, abstractMixedGraph::LAYERED_FEEDBACK = 1, abstractMixedGraph::LAYERED_EDGE_SPAN = 2, abstractMixedGraph::LAYERED_VERTICAL = 3, abstractMixedGraph::LAYERED_COLOURS = 4, abstractMixedGraph::LAYERED_FDP = 8, abstractMixedGraph::LAYERED_ALIGN = 16, abstractMixedGraph::LAYERED_SWEEP = 32, abstractMixedGraph::LAYERED_HORIZONTAL = 48 } |
Functions | |
void | abstractMixedGraph::Layout_PredecessorTree (TOptAlign mode=ALIGN_OPTIMIZE, TFloat dx=0.0, TFloat dy=0.0) throw (ERRejected) |
void | abstractMixedGraph::Layout_Layered (int method=LAYERED_DEFAULT, TFloat dx=0.0, TFloat dy=0.0) throw (ERRejected) |
|
Alternative rules for the horizontal node placement in layered tree drawing.
|
|
Options for the layered drawing method. LAYERED_FEEDBACK, LAYERED_EDGE_SPAN, LAYERED_COLOURS denote vertical node placement rules. LAYERED_FDP, LAYERED_ALIGN and LAYERED_SWEEP are vertical rules.
|
|
Layered drawing of general graphs.
Four phases can be distinguished: In the first phase, the edges are oriented. In the second phase, the graph nodes are assigned to layers (horizontal grid lines). Then the edges are subdivided to obtain a proper layering. In the final phase, nodes are arranged in their layers with the aim of minimizing edge lengths and crossings. Depending on the specified method, only some of these phases are performed. The default rule will produce a legal drawing in any case. After that, special rules can be used for post-optimization. |
|
Draw a rooted tree of predecessor arcs.
Parent nodes are displayed atop of its child nodes, child nodes are displayed on the same level, and the order of child nodes from left to right reproduces the order in the incidence list of the father node. |