Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

SpringEmbedderGridVariant.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/List.h>
35 #include <ogdf/basic/basic.h>
36 #include <ogdf/basic/geometry.h>
38 
39 namespace ogdf {
40 class GraphAttributes;
41 class GraphCopy;
42 
44 
84 public:
85  SpringEmbedderGridVariant() { m_forceLimitStep = .5; }
86 
87 protected:
88  void callMaster(const GraphCopy& copy, GraphAttributes& attr, DPoint& box) override;
89 
90 private:
91  struct NodeInfo {
93 
95  int m_adjStop;
96 
97  int m_gridX;
98  int m_gridY;
99 
101  };
102 
103  class ForceModelBase;
104  class ForceModelEades;
105  class ForceModelFR;
106  class ForceModelFRModAttr;
107  class ForceModelFRModRep;
108  class ForceModelGronemann;
109  class ForceModelHachul;
110  class Master;
111  class Worker;
112 };
113 
114 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
ogdf::GraphAttributes
Stores additional attributes of a graph (like layout information).
Definition: GraphAttributes.h:72
ogdf::SpringEmbedderGridVariant::ForceModelGronemann
Definition: SEGV_ForceModel.h:114
ogdf::GenericPoint< double >
ogdf::SpringEmbedderGridVariant::ForceModelFRModRep
Definition: SEGV_ForceModel.h:87
ogdf::SpringEmbedderGridVariant::ForceModelEades
Definition: SEGV_ForceModel.h:96
geometry.h
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
ogdf::SpringEmbedderGridVariant::ForceModelFRModAttr
Definition: SEGV_ForceModel.h:78
ogdf::SpringEmbedderGridVariant::ForceModelBase
Definition: SEGV_ForceModel.h:47
ogdf::SpringEmbedderGridVariant::NodeInfo::m_gridY
int m_gridY
Definition: SpringEmbedderGridVariant.h:98
ogdf::GraphCopy
Copies of graphs supporting edge splitting.
Definition: GraphCopy.h:391
ogdf::SpringEmbedderGridVariant::NodeInfo::m_pos
DPoint m_pos
Definition: SpringEmbedderGridVariant.h:92
ogdf::spring_embedder::SpringEmbedderBase
Common base class for ogdf::SpringEmbedderBase and ogdf::SpringEmbedderGridVariant.
Definition: SpringEmbedderBase.h:54
ogdf::SpringEmbedderGridVariant::ForceModelHachul
Definition: SEGV_ForceModel.h:105
Minisat::Internal::copy
static void copy(const T &from, T &to)
Definition: Alg.h:61
ogdf::SpringEmbedderGridVariant::ForceModelFR
Definition: SEGV_ForceModel.h:69
ogdf::SpringEmbedderGridVariant::NodeInfo
Definition: SpringEmbedderGridVariant.h:91
ogdf::SpringEmbedderGridVariant::SpringEmbedderGridVariant
SpringEmbedderGridVariant()
Definition: SpringEmbedderGridVariant.h:85
ogdf::SpringEmbedderGridVariant::NodeInfo::m_gridX
int m_gridX
Definition: SpringEmbedderGridVariant.h:97
basic.h
Basic declarations, included by all source files.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::SpringEmbedderGridVariant::NodeInfo::m_adjBegin
int m_adjBegin
Definition: SpringEmbedderGridVariant.h:94
ogdf::SpringEmbedderGridVariant
The spring-embedder layout algorithm with force approximation using hte grid variant approach.
Definition: SpringEmbedderGridVariant.h:83
List.h
Declaration of doubly linked lists and iterators.
ogdf::ListIteratorBase
Encapsulates a pointer to a list element.
Definition: List.h:51
ogdf::SpringEmbedderGridVariant::NodeInfo::m_adjStop
int m_adjStop
Definition: SpringEmbedderGridVariant.h:95
SpringEmbedderBase.h
Declaration and definition of ogdf::SpringEmbedderBase.
ogdf::SpringEmbedderGridVariant::NodeInfo::m_lit
ListIterator< int > m_lit
Definition: SpringEmbedderGridVariant.h:100