101 void compute_routing(
node v);
104 void compute_glue_points_y(
node v);
107 void compute_gen_glue_points_y(
node v);
110 void compute_glue_points_x(
node& v);
113 void compute_gen_glue_points_x(
node v);
116 void initialize_node_info(
node v,
int sep);
130 void addbends(
BendString& bs,
const char* s2);
139 return (*inf.
inList(d).
get(pos))->adjTarget();
141 return (*inf.
inList(d).
get(pos))->adjSource();
147 return (*inf.
inList(d).
get(pos))->adjSource();
149 return (*inf.
inList(d).
get(pos))->adjTarget();
153 void set_position(
node v,
int x = 0,
int y = 0);
156 void fix_position(
node v,
int x = 0,
int y = 0);
171 void setOrSep(
int sep) {m_hasOrSep =
true; m_orSep = sep;}
230 void set_corners(
node v);
244 nt = m_prup->
typeOf(oppositeNode(ae));
281 const bool subtract);
283 void updateLowerEdgesBends(
290 const bool bendLeft);
293 const bool isDoubleBend,
301 auto &inf = infos[v];
305 m_abends[adj] = btDouble;
306 inf.
inc_E(dirB, dir);
309 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)
Returns assigned glue point (node border) y-coordinate.
int gp_x(adjEntry ae)
Returns assigned glue point (node border) x-coordinate.
Orthogonal representation of an embedded graph.
Declaration of a base class for planar representations of graphs and cluster graphs.
List< edge > & inList(OrthoDir bs)
ProcessType
Process status of nodes.
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)
Returns assigned connection point (cage border) y-coordinate of ae 's 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)
Returns assigned connection point (cage border) x-coordinate of ae 's 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)
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.
BendType
Edge types, defined by necessary bends.