54 edge new_edge =
nullptr);
58 edge new_edge =
nullptr);
68 const std::function<
void(
edge)>& deleteEdge);
72 const std::function<
void(
edge)>& deleteEdge);
Includes declaration of graph class.
Basic declarations, included by all source files.
Class for adjacency list elements.
Class for the representation of edges.
Data type for general directed graphs (adjacency list representation).
Doubly linked lists (maintaining the length of the list).
Class for the representation of nodes.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
The namespace for all OGDF objects.
void assertStarCentreAndRay(node centre, node ray)
Check that one vertex is the centre of star while the other is one of its rays.
void moveEnd(Graph &G, edge e, node keep_end, node new_end)
Change one endpoint of an edge, no matter its direction.
void moveAdjToFront(Graph &G, adjEntry f)
Rotate a node to move a given adjEntry to the front of its list.
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.
bool joinEdge(Graph &G, edge u_e, edge v_e, node u, node v)
Join two edges into one, keeping the two given endpoints.
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.
void moveAdjToBack(Graph &G, adjEntry b)
Rotate a node to move a given adjEntry to the back 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.