48 enum class BendCost { defaultCost, topDownCost, bottomUpCost };
49 enum class n_type { low, high, inner, outer };
52 m_distributeEdges =
true;
54 m_allowLowZero =
false;
59 m_topToBottom = BendCost::defaultCost;
114 switch (m_topToBottom) {
115 case BendCost::topDownCost:
118 case BendCost::bottomUpCost:
127 std::cout <<
" Cost/pbc: " << cost <<
"/" <<
pbc <<
"\n";
140 switch (m_topToBottom) {
141 case BendCost::topDownCost:
144 case BendCost::bottomUpCost:
176 const int angleId = angle / 90;
Declaration of ClusterPlanRep class, allowing cluster boundary insertion and shortest path edge inser...
Declaration of orthogonal representation of planar graphs.
Computes the orthogonal representation of a clustered graph.
void distributeEdges(bool b)
sets option distributeEdges to b
bool distributeEdges()
returns option distributeEdges
void traditional(bool b)
sets option traditional to b
bool multiAlign()
returns option multiAlign
int clusterProgBendCost(int clDepth, int treeDepth, int pbc)
void multiAlign(bool b)
sets option multiAlign to b
void bendCostTopDown(BendCost i)
bool fixDegreeFourAngles()
returns option for free angle assignment at degree four nodes
bool traditional()
returns option for traditional angle distribution
void setAngleBound(edge netArc, int angle, EdgeArray< int > &lowB, EdgeArray< int > &upB, EdgeArray< edge > &aTwin, bool maxBound=true)
int clusterTradBendCost(int clDepth, int treeDepth, int pbc)
void call(ClusterPlanRep &PG, CombinatorialEmbedding &E, OrthoRep &OR, int startBoundBendsPerEdge=0, bool fourPlanar=true)
void fixDegreeFourAngles(bool b)
sets option for free angle assignment at degree four nodes
Planarized representations for clustered graphs.
Combinatorial embeddings of planar graphs with modification functionality.
Dynamic arrays indexed with edges.
Class for the representation of edges.
Orthogonal representation of an embedded graph.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.