124 void compute_routing(
node v);
127 void compute_glue_points_y(
node v);
130 void compute_gen_glue_points_y(
node v);
133 void compute_glue_points_x(
node& v);
136 void compute_gen_glue_points_x(
node v);
139 void initialize_node_info(
node v,
int sep);
149 void addbends(
BendString& bs,
const char* s2);
158 return (*inf.
inList(d).
get(pos))->adjTarget();
160 return (*inf.
inList(d).
get(pos))->adjSource();
166 return (*inf.
inList(d).
get(pos))->adjSource();
168 return (*inf.
inList(d).
get(pos))->adjTarget();
172 void set_position(
node v,
int x = 0,
int y = 0);
175 void fix_position(
node v,
int x = 0,
int y = 0);
190 void setOrSep(
int sep) {m_hasOrSep =
true; m_orSep = sep;}
214 void set_corners(
node v);
228 nt = m_prup->
typeOf(oppositeNode(ae));
264 const bool subtract);
266 void updateLowerEdgesBends(
273 const bool bendLeft);
276 const bool isDoubleBend,
284 auto &inf = infos[v];
288 m_abends[adj] = btDouble;
289 inf.
inc_E(dirB, dir);
292 m_abends[adj] = btSingle;
int m_sep
minimum separation
AdjEntryArray< int > auppe
adjEntry inEntry(NodeInfo &inf, OrthoDir d, int pos)
adjEntries for edges in inLists
AdjEntryArray< int > m_agp_y
because edges can connect two replacement cages
NodeArray< bool > m_mergerSon
is part of merger son cage
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
bool m_minDelta
set minimum delta values for flip decision and adjust distances correspondingly
Declaration of orthogonal representation of planar graphs.
Extends GridLayout by a grid mapping mechanism.
AdjEntryArray< BendType > m_abends
bends
int gp_y(adjEntry ae)
glue point (node border)
int gp_x(adjEntry ae)
glue point (node border)
Orthogonal representation of an embedded graph.
Declaration of a base class for planar representations of graphs and cluster graphs.
List< edge > & inList(OrthoDir bs)
void updateOneBend(const bool isDoubleBend, const adjEntry adj, const node v, const OrthoDir dir, const bool bendLeft, const BendType btSingle, const BendType btDouble)
int cp_y(adjEntry ae)
connection point (cage border) coord of source
BendType abendType(adjEntry ae)
AdjEntryArray< node > m_cage_point
newly introduced bends destroy edge to point connection
Graph::NodeType typeOf(node v) const
Returns the type of node v.
Declaration of class RoutingChannel which maintains required size of routing channels and separation...
GridLayoutMapped * m_layoutp
void align(bool b)
set alignment option: place nodes in cage at outgoing generalization
Places node boxes in replacement areas of orthogonal drawing step and route edges to minimize bends...
Declaration of class Layout.
NodeArray< OrthoDir > m_mergeDir
direction of adjacent (to) merger edges
int cp_x(adjEntry ae)
connection point (cage border) coord of source
NodeArray< int > * m_nodewidth
CombinatorialEmbedding * m_comb
Declaration of class GridLayout.
MinimumEdgeDistances< int > * m_med
NodeArray< ProcessType > m_processStatus
keep information about already processed Nodes
node twinNode() const
Returns the associated node of the corresponding adjacency entry (shorthand for twin()->theNode()).
Class for the representation of edges.
double Cconst
relative sep to overhang / delta to eps
const_iterator get(int pos) const
Returns a const iterator pointing to the element at position pos.
Class for the representation of nodes.
Encapsulates a pointer to a list element.
adjEntry outEntry(NodeInfo &inf, OrthoDir d, int pos)
adjEntries for edges in inLists
node oppositeNode(adjEntry ae)
helper for oppositeExpander
RoutingChannel< int > * m_rc
bool oppositeExpander(adjEntry ae)
check if the target node of the outgoing adjEntry still is a expander
Declaration of class GridLayoutMapped which extends GridLayout by a grid mapping mechanism.
static OrthoDir prevDir(OrthoDir d)
Returns the previous OrthoDir (in a clockwise manner)
static OrthoDir nextDir(OrthoDir d)
Returns the next OrthoDir (in a clockwise manner)
NodeArray< int > m_newy
new placement position for original node
Represents the bends on an edge e consisting of vertical and horizontal segments. ...
Declaration of class MinimumEdgeDistances which maintains minimum distances between attached edges at...
Declaration of class NodeInfo.
The namespace for all OGDF objects.
NodeArray< BendType > m_oppositeBendType
keep the information about the type of bend inserted at one end of an (originally unbend) edge...
NodeArray< bool > m_fixed
saves info about changed position, no further change is allowed
void inc_E_hook(OrthoDir s_from, OrthoDir s_to, int num=1)
NodeType
The type of nodes.
int m_overh
minimum overhang
bool is_in_edge(OrthoDir od, int pos)
Combinatorial embeddings of planar graphs with modification functionality.
NodeArray< int > * m_nodeheight
Class for adjacency list elements.
void inc_E(OrthoDir s_from, OrthoDir s_to, int num=1)
BendType
edge types, defined by necessary bends
NodeArray< NodeInfo > infos
holds the cage and placement information
AdjEntryArray< int > m_acp_y
edge connection point coordinates before treatment
Planarized representations (of a connected component) of a graph.