|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
70 double separation()
const override {
return m_separation; }
74 void separation(
double sep)
override { m_separation = sep; }
89 double margin()
const {
return m_margin; }
92 void margin(
double m) { m_margin = m; }
104 bool scaling()
const {
return m_useScalingCompaction; }
107 void scaling(
bool b) { m_useScalingCompaction = b; }
The namespace for all OGDF objects.
Includes declaration of graph class.
void separation(double sep) override
Sets the minimum distance between vertices.
void cOverhang(double c)
Sets the option m_cOverhang, which specifies the minimal distance of incident edges to the corner of ...
Planarized representations (of a connected component) of a graph.
double m_margin
margin around drawing
bool m_progressive
use progressive ortho style (prefer 180 degree angles on deg-2 vertices).
bool m_useScalingCompaction
use scaling for compaction
bool scaling() const
Returns whether scaling is used in the compaction phase.
bool progressive() const
Returns whether the currently selected orthogonaliaztion model is progressive.
double m_separation
minimum distance between obkects
double cOverhang() const
Returns the option m_cOverhang, which specifies the minimal distance of incident edges to the corner ...
Class for adjacency list elements.
void scaling(bool b)
Selects if scaling is used in the compaction phase.
void bendBound(int i)
Set bound on the number of bends.
Stores a layout of a graph (coordinates of nodes, bend points of edges).
void progressive(bool b)
Selects if the progressive (true) or traditional (false) orthogonalization model is used.
int m_bendBound
bounds the number of bends per edge in ortho shaper
Interface for planar layout algorithms (used in the planarization approach).
The Orthogonal layout algorithm for planar graphs.
double margin() const
Returns the desired margin around the drawing.
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
int m_scalingSteps
number of scaling steps (NOT REALLY USED!)
Declaration of interface for planar layout algorithms (used in planarization approach).
double m_cOverhang
distance to corner (relative to node size)
void margin(double m)
Sets the desired margin around the drawing.