|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
54 struct EncapsulatedBlock;
76 mutable int counter = 1;
90 node biconnectedComponent(
node n)
const;
104 int bcSize(
node n)
const;
106 int bcConnectedId(
node n)
const;
112 std::function<std::ostream&(std::ostream&)> fmtBCNode(
node bc)
const;
114 std::function<std::ostream&(std::ostream&)>
fmtBCOf(
node n)
const {
115 return fmtBCNode(biconnectedComponent(n));
120 std::pair<edge, edge> graphEdgeToBCEdge(
node bc_src,
node bc_tgt)
const;
122 node findCommonBiconComp(
node bc_cut1,
node bc_cut2)
const;
132 conn_count = conn_next_id = 0;
133 bc_conn_id.
init(BC, -1);
134 g_bc.
init(*G,
nullptr);
135 bc_g.
init(BC,
nullptr);
142 void nodeInserted(
node g_n,
node bc_n);
144 void insert(
BCTree& tmp_bc);
150 void preJoin(
node keep,
node merge);
154 void labelIsolatedNodes();
170 void restore(
bool restore_embedding =
true);
The namespace for all OGDF objects.
int connectedCount() const
Includes declaration of graph class.
@ CComp
a vertex representing a C-component
Hides all (edges leading to) adjacent biconnected components without changing the current embedding.
bool isCutVertex(node n) const
NodeArray< int > bc_conn_id
GNodeType
Enumeration type for characterizing the vertices of the original graph.
An iterator-based BFS through a Graph.
Functionality for temporarily hiding edges in constant time.
SyncPlanComponents(Graph *g)
Singly linked lists (maintaining the length of the list).
SyncPlanComponents & m_comps
Utilities by dumping a drawing of the current state of a SyncPlan instance.
NodeSet< true > m_to_restore
A class for modelling and solving Synchronized Planarity instances.
Declaration and implementation of NodeSet, EdgeSet, and AdjEntrySet classes.
Graph::HiddenEdgeSet m_hiddenEdges
Declaration of class BCTree.
int biconnectedId(node n) const
Information on a single block adjacent to a cut-vertex that is about to be encapsulated.
NodeArray< SListPure< adjEntry > > m_adjEntries
NodeArray< BCTree::BNodeType > bc_type
Consistency checks for debugging the SyncPlan algorithm.
Doubly linked lists (maintaining the length of the list).
RegisteredArray for nodes, edges and adjEntries of a graph.
Data type for general directed graphs (adjacency list representation).
const Graph & bcTree() const
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
std::function< std::ostream &(std::ostream &)> fmtBCOf(node n) const
BNodeType
Enumeration type for characterizing the BC-tree-vertices.
void init(const Graph *base=nullptr)
Reinitializes the array. Associates the array with the matching registry of base.
int connectedId(node n) const
bool isCutComponent(node n) const
(Bi)Connected components information maintained during the SyncPlan algorithm.
Class for the representation of nodes.
@ BComp
a vertex representing a B-component
An iterator-based BFS through a Graph. TODO should be moved to a central location; add DFS?
NodeArray< std::pair< int, edge > > marker