|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
39 class GraphAttributes;
40 class HierarchyLevelsBase;
97 double nodeDistance()
const {
return m_nodeDistance; }
132 if (w > 0.0 && w <= 100.0) {
133 m_weightSegments = w;
142 if (w >= 0.0 && w <= 100.0) {
143 m_weightBalancing = w;
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
void weightBalancing(double w)
Sets the weight for balancing successors below a node to w; 0.0 means no balancing.
void weightSegments(double w)
Sets the weight of edge segments connecting to vertical segments to w.
void layerDistance(double x)
Sets the minimal allowed y-distance between layers to x.
double weightSegments() const
Returns the weight of edge segments connecting to vertical segments.
Interface of hierarchy layout algorithms.
bool fixedLayerDistance() const
Returns the current setting of option fixedLayerDistance.
double layerDistance() const
Returns the minimal allowed y-distance between layers.
bool m_fixedLayerDistance
Use fixed layer distances?
double weightBalancing() const
Returns the weight for balancing successors below a node; 0.0 means no balancing.
double m_layerDistance
The minimal distance between layers.
~OptimalHierarchyLayout()
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Declaration of interface hierarchy layout algorithms (3. phase of Sugiyama).
void fixedLayerDistance(bool b)
Sets the option fixedLayerDistance to b.
void nodeDistance(double x)
Sets the minimal allowed x-distance between nodes on a layer to x.
double m_weightSegments
The weight of edge segments.
double m_weightBalancing
The weight for balancing.
double m_nodeDistance
The minimal distance between nodes.
The LP-based hierarchy layout algorithm.