|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
48 class CombinatorialEmbedding;
49 class GraphAttributes;
71 void initActiveCC(
int i);
74 node initMinActiveCC(
int i);
79 virtual void nodeDeleted(
node v)
override;
80 virtual void nodeAdded(
node v)
override;
81 virtual void edgeDeleted(
edge e)
override;
82 virtual void edgeAdded(
edge e)
override;
83 virtual void cleared()
override;
88 void activateNode(
node v);
91 void activateEdge(
edge e);
100 bool makeTreeConnected(
adjEntry adjExternal);
104 void deleteTreeConnection(
int i,
int j);
121 return m_eTreeArray(i, j);
136 m_treeEdge[eNew] =
true;
146 std::ofstream os(fileName);
151 std::ofstream os(fileName);
152 writeGML(os, drawing);
156 void writeGML(std::ostream& os,
const Layout& drawing,
bool colorEmbed =
true);
159 int genusLayout(
Layout& drawing)
const;
165 void initMembers(
const UMLGraph& UG);
168 node initActiveCCGen(
int i,
bool minNode);
Array2D< edge > m_eTreeArray
used for treeConnection
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
edge treeEdge(int i, int j) const
Includes declaration of graph class.
void writeGML(const char *fileName)
Planarized representation (of a connected component) of a UMLGraph; allows special handling of hierar...
Declaration of class PlanRepUML.
virtual edge split(edge e) override
Splits edge e, can be removed when edge status in edgetype m_treedge can be removed afterwards.
Declaration of class UMLGraph.
Copies of graphs supporting edge splitting.
The parameterized class Array2D implements dynamic two-dimensional arrays.
bool m_treeInit
check if the tree edge Array2D was initialized
Class for adjacency list elements.
Stores a layout of a graph (coordinates of nodes, bend points of edges).
Abstract Base class for graph observers.
Doubly linked lists (maintaining the length of the list).
RegisteredArray for nodes, edges and adjEntries of a graph.
virtual edge split(edge e) override
Splits edge e.
int & componentNumber(node v)
Component number.
This class is only an adaption of PlanRep for the special incremental drawing case.
EdgeArray< bool > m_treeEdge
edge inserted for connnectivity
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Combinatorial embeddings of planar graphs with modification functionality.
NodeArray< int > m_component
number of partial component in current CC used for treeConnection
Class for the representation of edges.
void writeGML(const char *fileName, const Layout &drawing)
Declaration and implementation of class Array2D which implements dynamic two dimensional arrays.
Class for the representation of nodes.
NodeArray< bool > m_activeNodes
stores the status of the nodes
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.