|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
72 virtual double separation()
const override {
return m_separation; }
75 virtual void separation(
double sep)
override { m_separation = sep; }
85 double margin()
const {
return m_margin; }
88 void margin(
double m) { m_margin = m; }
115 void scaling(
bool b) { m_useScalingCompaction = b; }
124 m_align = (optionField & 1) != 0;
125 m_useScalingCompaction = (optionField & 2) != 0;
126 m_orthoStyle = (optionField & 4) != 0;
The namespace for all OGDF objects.
void costAssoc(int c)
Sets cost of associations which is used in the compactions step.
Includes declaration of graph class.
void cOverhang(double c)
Sets cOverhang value.
Planarized representations for clustered graphs.
double m_margin
Distance between bounding box and drawing boundary.
double margin() const
Returns the distance from the tight bounding box to the boundary of the drawing.
virtual void separation(double sep) override
Sets the minimum distance between edges and vertices.
Class for adjacency list elements.
virtual void setOptions(int optionField) override
Sets generic options by setting field bits.
void scaling(bool b)
Sets scaling option for compaction step.
Stores a layout of a graph (coordinates of nodes, bend points of edges).
int m_costGen
Compaction cost of generalizations type edges.
Represents a planar orthogonal drawing algorithm for c-planar, c-connected clustered graphs.
double m_separation
Minimum distance between edges and vertices.
double m_cOverhang
Factor for minimum distance between vertex corner an adjacent edges.
void optionProfile(int i)
Sets the option profile, thereby fixing a set of drawing options.
int costGen() const
Returns cost of generalizations.
int m_costAssoc
Compaction cost of association type edges.
virtual double separation() const override
Returns the minimum distance between edges and vertices.
int m_scalingSteps
Number of scaling steps during compaction.
void margin(double m)
Sets the distance from the tight bounding box to the boundary of the drawing.
Data type for general directed graphs (adjacency list representation).
double cOverhang() const
Returns cOverhang, where cOverhang * separation defines the minimum.
bool m_align
Horizontal alignment option.
int m_orthoStyle
Type of style (traditional/progressive) used for shape step.
int costAssoc() const
Returns cost of associations which is used in the compactions step.
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 for planar layout algorithms for UML diagrams (used in planarization approac...
void align(bool b)
Sets alignment option.
void costGen(int c)
Sets cost of generalizations.
bool m_useScalingCompaction
Switches scaling improvement during compaction.
void preferedDir(OrthoDir dir)
Sets the preferred direction of generalizations.
Interface for planar cluster layout algorithms.
OrthoDir preferedDir() const
Returns the preferred direction of generalizations.
OrthoDir m_preferedDir
Preferred direction of generalizations (obsolete).