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