40class CombinatorialEmbedding;
66 m_distributeEdges =
true;
68 m_allowLowZero =
false;
73 m_startBoundBendsPerEdge = 0;
101 void align(
bool al) { m_align = al; }
109 m_startBoundBendsPerEdge = i;
166 const int angleId = angle / 90;
167 const edge e2 = aTwin[netArc];
173 lowB[netArc] = 2 - angleId;
177 upB[e2] = lowB[e2] = 0;
180 upB[netArc] = 2 - angleId;
Includes declaration of graph class.
Basic declarations, included by all source files.
Combinatorial embeddings of planar graphs with modification functionality.
Class for the representation of edges.
Orthogonal representation of an embedded graph.
bool m_allowLowZero
allow low degree nodes zero degree (to low for zero...)
void setAngleBound(edge netArc, int angle, EdgeArray< int > &lowB, EdgeArray< int > &upB, EdgeArray< edge > &aTwin, bool maxBound=true)
Set angle boundary. Warning: sets upper AND lower bounds, therefore may interfere with existing bound...
void call(PlanRep &PG, CombinatorialEmbedding &E, OrthoRep &OR, bool fourPlanar=true)
bool m_align
Try to achieve an alignment in hierarchy levels.
void setBendBound(int i)
Set bound for number of bends per edge (none if set to 0). If shape flow computation is unsuccessful,...
bool fixDegreeFourAngles()
void call(PlanRepUML &PG, CombinatorialEmbedding &E, OrthoRep &OR, bool fourPlanar=true)
bool m_deg4free
allow degree four nodes free angle assignment
int m_startBoundBendsPerEdge
Bound on the number of bends per edge for flow.
bool m_fourPlanar
should the input graph be four planar (no zero degree)
void fixDegreeFourAngles(bool b)
NetworkNodeType
Types of network nodes: nodes and faces.
bool m_multiAlign
multi edges aligned on the same side
void distributeEdges(bool b)
void setDefaultSettings()
bool m_traditional
Do not prefer 180-degree angles.
bool m_distributeEdges
distribute edges among all sides if degree > 4
Planarized representations (of a connected component) of a graph.
Planarized representation (of a connected component) of a UMLGraph; allows special handling of hierar...
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
The namespace for all OGDF objects.