 |
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
54 edge new_edge =
nullptr);
58 edge new_edge =
nullptr);
68 const std::function<
void(
edge)>& deleteEdge);
72 const std::function<
void(
edge)>& deleteEdge);
The namespace for all OGDF objects.
Includes declaration of graph class.
edge splitEdge(Graph &G, edge old_edge, node new_adj_to_source, node new_adj_to_target, edge new_edge=nullptr)
Split an edge, moving the two new middle endpoints to some other vertices.
bool joinEdge(Graph &G, edge u_e, edge v_e, node u, node v)
Join two edges into one, keeping the two given endpoints.
node getCentreOfStar(node g_n)
Given a vertex that is either the centre or ray of a star, return the centre of the respective star.
void moveEnd(Graph &G, edge e, node keep_end, node new_end)
Change one endpoint of an edge, no matter its direction.
AdjElement * adjEntry
The type of adjacency entries.
EdgeElement * edge
The type of edges.
NodeElement * node
The type of nodes.
void moveAdjToFront(Graph &G, adjEntry f)
Rotate a node to move a given adjEntry to the front of its list.
OrderComp compareCyclicOrder(node n, List< adjEntry > &o, bool full_check=false)
Cyclically compare the rotation of a node with a given cyclic order.
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
void assertStarCentreAndRay(node centre, node ray)
Check that one vertex is the centre of star while the other is one of its rays.
void moveAdjToBack(Graph &G, adjEntry b)
Rotate a node to move a given adjEntry to the back of its list.