Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

IncNodeInserter.h
Go to the documentation of this file.
1 
37 #pragma once
38 
40 #include <ogdf/basic/Graph.h>
41 #include <ogdf/basic/basic.h>
42 
43 namespace ogdf {
44 class PlanRepInc;
45 
47 public:
49  explicit IncNodeInserter(PlanRepInc& PG) : m_planRep(&PG) { }
50 
52  virtual void insertCopyNode(node v, CombinatorialEmbedding& E, Graph::NodeType vTyp) = 0;
53 
54 protected:
58  virtual face getInsertionFace(node v, CombinatorialEmbedding& E) = 0;
59 
62 };
63 
64 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
Graph.h
Includes declaration of graph class.
ogdf::IncNodeInserter
Definition: IncNodeInserter.h:46
ogdf::IncNodeInserter::m_planRep
PlanRepInc * m_planRep
pointer to a PlanRepInc that is to be changed
Definition: IncNodeInserter.h:61
ogdf::IncNodeInserter::IncNodeInserter
IncNodeInserter(PlanRepInc &PG)
Creates inserter on PG.
Definition: IncNodeInserter.h:49
ogdf::Graph::NodeType
NodeType
The type of nodes.
Definition: Graph_d.h:912
ogdf::PlanRepInc
This class is only an adaption of PlanRep for the special incremental drawing case.
Definition: PlanRepInc.h:61
basic.h
Basic declarations, included by all source files.
CombinatorialEmbedding.h
Declaration of CombinatorialEmbedding and face.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::CombinatorialEmbedding
Combinatorial embeddings of planar graphs with modification functionality.
Definition: CombinatorialEmbedding.h:406
ogdf::NodeElement
Class for the representation of nodes.
Definition: Graph_d.h:240
ogdf::FaceElement
Faces in a combinatorial embedding.
Definition: CombinatorialEmbedding.h:118