|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
87 , extFaceHandle(nullptr)
92 m_isSinkArc.init(*
this,
false);
93 m_isSourceArc.init(*
this,
false);
137 if (v->
indeg() == 0) {
153 std::cout << std::endl <<
"Face UPR " << std::endl;
155 std::cout <<
"face " << f->
index() <<
": ";
158 std::cout << adjNext->
theEdge() <<
"; ";
161 std::cout << std::endl;
167 std::cout <<
"no ext. face set." << std::endl;
198 void computeSinkSwitches();
207 void constructSinkArcs(
face f,
node t);
The namespace for all OGDF objects.
NodeArray< adjEntry > m_sinkSwitchOf
Includes declaration of graph class.
bool augmented() const
return true if graph is augmented to a single source single sink graph
Takes an acyclic connected non-upward-planar graph and planarizes it, i.e., we obtain an upward-plana...
EdgeArray< bool > m_isSinkArc
Singly linked lists (maintaining the length of the list).
Copies of graphs supporting edge splitting.
adjEntry sinkSwitchOf(node v)
0 if node v is not a sink switch (not the top sink switch !!) of an internal face....
int numberOfCrossings() const
UpwardPlanRep()
standart constructor
Edge insertion module that inserts each edge optimally into a fixed embedding.
const CombinatorialEmbedding & getEmbedding() const
return the upward planar embedding
bool isAugmented
the UpwardPlanRep is augmented to a single source and single sink graph
EdgeArray< bool > m_isSourceArc
bool isSinkArc(edge e) const
Class for adjacency list elements.
adjEntry firstAdj() const
Returns the first adjacency element in the face.
node t_hat
< embedding og this UpwardPlanRep
adjEntry leftInEdge(node v) const
void init(const Graph &G)
Re-initializes the copy using G, creating copies for all nodes and edges in G.
edge theEdge() const
Returns the edge associated with this adjacency entry.
static void copy(const T &from, T &to)
internal::GraphObjectContainer< FaceElement > faces
The container containing all face objects.
Declaration of singly linked lists and iterators.
Decralation of GraphElement and GraphList classes.
internal::GraphObjectContainer< AdjElement > adjEntries
The container containing all entries in the adjacency list of this node.
node s_hat
the super source
int indeg() const
Returns the indegree of the node.
node source() const
Returns the source node of the edge.
Declaration of graph copy classes.
node getSuperSink() const
RegisteredArray for nodes, edges and adjEntries of a graph.
adjEntry cyclicSucc() const
Returns the cyclic successor in the adjacency list.
face externalFace() const
Returns the external face.
int index() const
Returns the index of the face.
CombinatorialEmbedding m_Gamma
Basic declarations, included by all source files.
Declaration of CombinatorialEmbedding and face.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Combinatorial embeddings of planar graphs with modification functionality.
adjEntry faceCycleSucc() const
Returns the cyclic successor in face.
void outputFaces(const CombinatorialEmbedding &embedding) const
Class for the representation of edges.
Upward planarized representations (of a connected component) of a graph.
node target() const
Returns the target node of the edge.
bool isSourceArc(edge e) const
Class for the representation of nodes.
CombinatorialEmbedding & getEmbedding()
node getSuperSource() const
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
Faces in a combinatorial embedding.