|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
62 virtual double separation()
const override {
return m_separation; }
64 virtual void separation(
double sep)
override { m_separation = sep; }
73 double margin()
const {
return m_margin; }
75 void margin(
double m) { m_margin = m; }
96 void align(
bool b) { m_align = b; }
99 void scaling(
bool b) { m_useScalingCompaction = b; }
120 m_useScalingCompaction =
true;
122 m_useScalingCompaction =
false;
136 if (m_useScalingCompaction) {
139 if (m_orthoStyle == 1) {
The namespace for all OGDF objects.
Interface for planar UML layout algorithms.
Includes declaration of graph class.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
Declaration of interface for planar layout algorithms for UML diagrams (used in planarization approac...
Planarized representation (of a connected component) of a UMLGraph; allows special handling of hierar...
void preferedDir(OrthoDir dir)
void align(bool b)
Set alignment option.
Class for adjacency list elements.
Stores a layout of a graph (coordinates of nodes, bend points of edges).
Represents planar orthogonal drawing algorithm for mixed-upward planar embedded graphs (UML-diagrams)
void setBendBound(int i)
Set bound on the number of bends.
Declaration of orthogonal representation of planar graphs.
virtual void separation(double sep) override
Sets the minimal allowed distance between edges and vertices to sep.
int m_bendBound
bounds number of bends per edge in ortho shaper
OrthoDir preferedDir() const
Basic declarations, included by all source files.
void scaling(bool b)
Set scaling compaction.
void optionProfile(int i)
Set the option profile, thereby fixing a set of drawing options.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
virtual int getOptions() override
Returns the (generic) options.
virtual double separation() const override
Returns the minimal allowed distance between edges and vertices.
bool m_useScalingCompaction
virtual void setOptions(int optionField) override
Sets the (generic) options; derived classes have to cope with the interpretation)