Represents planar orthogonal drawing algorithm for mixed-upward planar embedded graphs (UML-diagrams) More...
#include <ogdf/uml/OrthoLayoutUML.h>
Public Member Functions | |
OrthoLayoutUML () | |
void | align (bool b) |
Set alignment option. | |
virtual void | call (PlanRepUML &PG, adjEntry adjExternal, Layout &drawing) override |
Computes a planar layout of PG in drawing . | |
int | costAssoc () const |
void | costAssoc (int c) |
int | costGen () const |
void | costGen (int c) |
double | cOverhang () const |
void | cOverhang (double c) |
virtual int | getOptions () override |
Returns the (generic) options. | |
double | margin () const |
void | margin (double m) |
void | optionProfile (int i) |
Set the option profile, thereby fixing a set of drawing options. | |
OrthoDir | preferedDir () const |
void | preferedDir (OrthoDir dir) |
void | scaling (bool b) |
Set scaling compaction. | |
virtual double | separation () const override |
Returns the minimal allowed distance between edges and vertices. | |
virtual void | separation (double sep) override |
Sets the minimal allowed distance between edges and vertices to sep . | |
void | setBendBound (int i) |
Set bound on the number of bends. | |
virtual void | setOptions (int optionField) override |
Sets the (generic) options; derived classes have to cope with the interpretation) | |
Public Member Functions inherited from ogdf::LayoutPlanRepUMLModule | |
LayoutPlanRepUMLModule () | |
Initializes a UML planar layout module. | |
virtual | ~LayoutPlanRepUMLModule () |
const DPoint & | getBoundingBox () const |
Returns the bounding box of the computed layout. | |
void | operator() (PlanRepUML &PG, adjEntry adjExternal, Layout &drawing) |
Computes a planar layout of PG in drawing . | |
Protected Member Functions | |
void | classifyEdges (PlanRepUML &PG, adjEntry &adjExternal) |
Protected Member Functions inherited from ogdf::LayoutPlanRepUMLModule | |
void | setBoundingBox (PlanRep &PG, Layout &drawing) |
Computes and sets the bounding box variable m_boundingBox. | |
Private Member Functions | |
void | computeBoundingBox (const PlanRepUML &PG, Layout &drawing) |
Private Attributes | |
bool | m_align |
int | m_bendBound |
bounds number of bends per edge in ortho shaper | |
int | m_costAssoc |
int | m_costGen |
double | m_cOverhang |
double | m_margin |
int | m_optionProfile |
int | m_orthoStyle |
OrthoDir | m_preferedDir |
int | m_scalingSteps |
double | m_separation |
bool | m_useScalingCompaction |
Additional Inherited Members | |
Protected Attributes inherited from ogdf::LayoutPlanRepUMLModule | |
DPoint | m_boundingBox |
Stores the bounding box of the computed layout. | |
Represents planar orthogonal drawing algorithm for mixed-upward planar embedded graphs (UML-diagrams)
Definition at line 43 of file OrthoLayoutUML.h.
ogdf::OrthoLayoutUML::OrthoLayoutUML | ( | ) |
Set alignment option.
Definition at line 92 of file OrthoLayoutUML.h.
|
overridevirtual |
Computes a planar layout of PG
in drawing
.
Must be overridden by derived classes.
PG | is the input planarized representation which may be modified. |
adjExternal | is an adjacenty entry on the external face. |
drawing | is the computed layout of PG . |
Implements ogdf::LayoutPlanRepUMLModule.
|
protected |
|
private |
|
inline |
Definition at line 79 of file OrthoLayoutUML.h.
Definition at line 81 of file OrthoLayoutUML.h.
|
inline |
Definition at line 84 of file OrthoLayoutUML.h.
Definition at line 86 of file OrthoLayoutUML.h.
|
inline |
Definition at line 64 of file OrthoLayoutUML.h.
Definition at line 66 of file OrthoLayoutUML.h.
Returns the (generic) options.
Reimplemented from ogdf::LayoutPlanRepUMLModule.
Definition at line 127 of file OrthoLayoutUML.h.
|
inline |
Definition at line 69 of file OrthoLayoutUML.h.
Definition at line 71 of file OrthoLayoutUML.h.
Set the option profile, thereby fixing a set of drawing options.
Definition at line 89 of file OrthoLayoutUML.h.
|
inline |
Definition at line 74 of file OrthoLayoutUML.h.
Definition at line 76 of file OrthoLayoutUML.h.
Set scaling compaction.
Definition at line 95 of file OrthoLayoutUML.h.
Returns the minimal allowed distance between edges and vertices.
Implements ogdf::LayoutPlanRepUMLModule.
Definition at line 58 of file OrthoLayoutUML.h.
Sets the minimal allowed distance between edges and vertices to sep
.
Implements ogdf::LayoutPlanRepUMLModule.
Definition at line 60 of file OrthoLayoutUML.h.
Set bound on the number of bends.
Definition at line 98 of file OrthoLayoutUML.h.
Sets the (generic) options; derived classes have to cope with the interpretation)
Reimplemented from ogdf::LayoutPlanRepUMLModule.
Definition at line 109 of file OrthoLayoutUML.h.
|
private |
Definition at line 160 of file OrthoLayoutUML.h.
|
private |
bounds number of bends per edge in ortho shaper
Definition at line 166 of file OrthoLayoutUML.h.
|
private |
Definition at line 157 of file OrthoLayoutUML.h.
|
private |
Definition at line 158 of file OrthoLayoutUML.h.
|
private |
Definition at line 153 of file OrthoLayoutUML.h.
|
private |
Definition at line 154 of file OrthoLayoutUML.h.
|
private |
Definition at line 156 of file OrthoLayoutUML.h.
|
private |
Definition at line 165 of file OrthoLayoutUML.h.
|
private |
Definition at line 155 of file OrthoLayoutUML.h.
|
private |
Definition at line 163 of file OrthoLayoutUML.h.
|
private |
Definition at line 152 of file OrthoLayoutUML.h.
|
private |
Definition at line 162 of file OrthoLayoutUML.h.