|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
42 #include <type_traits>
48 template<
bool EnableLayers,
bool IsEmbedderMinDepth = false>
66 BicompEmbedder::embed(G, m_adjExternal, m_nodeLength, m_edgeLength);
68 return m_adjExternal->
twin();
74 node result =
nullptr;
81 *pAdjExternal = trivialInit(G);
86 if (v->outdeg() == 0) {
The namespace for all OGDF objects.
const Graph & bcTree() const
Returns the BC-tree graph.
Includes declaration of graph class.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
Embedder that maximizing the external face.
Common base for embedder algorithms based on BC trees.
Embedder that maximizes the external face (plus layers approach).
adjEntry twin() const
Returns the corresponding adjacency element associated with the same edge.
Class for adjacency list elements.
node initBCTree(Graph &G)
Initializes pBCTree and returns the root node of this tree or nullptr if G is biconnected.
Declaration of class BCTree.
internal::GraphObjectContainer< NodeElement > nodes
The container containing all node objects.
int numberOfNodes() const
Returns the number of nodes in the graph.
Decralation of GraphElement and GraphList classes.
typename std::conditional< EnableLayers, EmbedderMaxFaceBiconnectedGraphsLayers< int >, EmbedderMaxFaceBiconnectedGraphs< int > >::type BicompEmbedder
RegisteredArray for nodes, edges and adjEntries of a graph.
Data type for general directed graphs (adjacency list representation).
Computes an embedding of a biconnected graph with maximum external face.
Base class for embedder algorithms.
Basic declarations, included by all source files.
Declares ogdf::EmbedderMaxFaceBiconnectedGraphs.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Defines ogdf::EmbedderModule.
Class for the representation of nodes.
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
virtual adjEntry trivialInit(Graph &G)
Initialization code for biconnected input. Returns an adjacency entry that lies on the external face.