Computes the orthogonal representation of a clustered graph. More...
#include <ogdf/cluster/ClusterOrthoShaper.h>
Public Types | |
enum class | BendCost { defaultCost , topDownCost , bottomUpCost } |
enum class | n_type { low , high , inner , outer } |
Public Member Functions | |
ClusterOrthoShaper () | |
~ClusterOrthoShaper () | |
bool | align () |
void | align (bool al) |
void | bendCostTopDown (BendCost i) |
void | call (ClusterPlanRep &PG, CombinatorialEmbedding &E, OrthoRep &OR, int startBoundBendsPerEdge=0, bool fourPlanar=true) |
int | clusterProgBendCost (int clDepth, int treeDepth, int pbc) |
int | clusterTradBendCost (int clDepth, int treeDepth, int pbc) |
bool | distributeEdges () |
returns option distributeEdges | |
void | distributeEdges (bool b) |
sets option distributeEdges to b | |
bool | fixDegreeFourAngles () |
returns option for free angle assignment at degree four nodes | |
void | fixDegreeFourAngles (bool b) |
sets option for free angle assignment at degree four nodes | |
bool | multiAlign () |
returns option multiAlign | |
void | multiAlign (bool b) |
sets option multiAlign to b | |
bool | traditional () |
returns option for traditional angle distribution | |
void | traditional (bool b) |
sets option traditional to b | |
Private Member Functions | |
void | setAngleBound (edge netArc, int angle, EdgeArray< int > &lowB, EdgeArray< int > &upB, EdgeArray< edge > &aTwin, bool maxBound=true) |
Private Attributes | |
bool | m_align |
bool | m_allowLowZero |
bool | m_deg4free |
bool | m_distributeEdges |
bool | m_fourPlanar |
bool | m_multiAlign |
BendCost | m_topToBottom |
bool | m_traditional |
Computes the orthogonal representation of a clustered graph.
Definition at line 46 of file ClusterOrthoShaper.h.
Enumerator | |
---|---|
defaultCost | |
topDownCost | |
bottomUpCost |
Definition at line 48 of file ClusterOrthoShaper.h.
Enumerator | |
---|---|
low | |
high | |
inner | |
outer |
Definition at line 49 of file ClusterOrthoShaper.h.
|
inline |
< try to distribute edges to all node sides
< do not allow zero degree angles at high degree
< do allow zero degree at low degree nodes
< true; //start/end side of multi edges match
< true; //if set to true, prefer 3/1 flow at degree 2 (false: 2/2)
< if set to true, free angle assignment at degree four nodes allowed
< if set to true, nodes are aligned on same hierarchy level
Definition at line 51 of file ClusterOrthoShaper.h.
|
inline |
Definition at line 62 of file ClusterOrthoShaper.h.
|
inline |
Definition at line 107 of file ClusterOrthoShaper.h.
Definition at line 105 of file ClusterOrthoShaper.h.
Definition at line 109 of file ClusterOrthoShaper.h.
void ogdf::ClusterOrthoShaper::call | ( | ClusterPlanRep & | PG, |
CombinatorialEmbedding & | E, | ||
OrthoRep & | OR, | ||
int | startBoundBendsPerEdge = 0 , |
||
bool | fourPlanar = true |
||
) |
Definition at line 112 of file ClusterOrthoShaper.h.
Definition at line 138 of file ClusterOrthoShaper.h.
|
inline |
returns option distributeEdges
Definition at line 81 of file ClusterOrthoShaper.h.
sets option distributeEdges to b
Definition at line 84 of file ClusterOrthoShaper.h.
|
inline |
returns option for free angle assignment at degree four nodes
Definition at line 99 of file ClusterOrthoShaper.h.
sets option for free angle assignment at degree four nodes
Definition at line 102 of file ClusterOrthoShaper.h.
|
inline |
returns option multiAlign
Definition at line 87 of file ClusterOrthoShaper.h.
sets option multiAlign to b
Definition at line 90 of file ClusterOrthoShaper.h.
|
inlineprivate |
Definition at line 171 of file ClusterOrthoShaper.h.
|
inline |
returns option for traditional angle distribution
Definition at line 93 of file ClusterOrthoShaper.h.
sets option traditional to b
Definition at line 96 of file ClusterOrthoShaper.h.
|
private |
Definition at line 165 of file ClusterOrthoShaper.h.
|
private |
Definition at line 158 of file ClusterOrthoShaper.h.
|
private |
Definition at line 160 of file ClusterOrthoShaper.h.
|
private |
Definition at line 156 of file ClusterOrthoShaper.h.
|
private |
Definition at line 157 of file ClusterOrthoShaper.h.
|
private |
Definition at line 159 of file ClusterOrthoShaper.h.
|
private |
Definition at line 167 of file ClusterOrthoShaper.h.
|
private |
Definition at line 161 of file ClusterOrthoShaper.h.