Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

SpringEmbedderGridVariant.h
Go to the documentation of this file.
1 
32 #pragma once
33 
35 #include <ogdf/basic/Array2D.h>
38 
39 namespace ogdf {
40 
42 
82 {
83 public:
85  m_forceLimitStep = .5;
86  }
87 
88 protected:
89  void callMaster(const GraphCopy& copy, GraphAttributes& attr, DPoint& box) override;
90 
91 private:
92  struct NodeInfo
93  {
95 
97  int m_adjStop;
98 
99  int m_gridX;
100  int m_gridY;
101 
103  };
104 
105  class ForceModelBase;
106  class ForceModelFR;
107  class ForceModelFRModAttr;
108  class ForceModelFRModRep;
109  class ForceModelEades;
110  class ForceModelHachul;
111  class ForceModelGronemann;
112 
113  class Master;
114  class Worker;
115 };
116 
117 }
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Common base class for ogdf::SpringEmbedderBase and ogdf::SpringEmbedderGridVariant.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
The spring-embedder layout algorithm with force approximation using hte grid variant approach...
static void copy(const T &from, T &to)
Definition: Alg.h:61
Stores additional attributes of a graph (like layout information).
Copies of graphs supporting edge splitting.
Definition: GraphCopy.h:249
Encapsulates a pointer to a list element.
Definition: List.h:42
The namespace for all OGDF objects.
Declaration and definition of ogdf::SpringEmbedderBase.
Declaration of SpringForceModel enumeration.
Declaration and implementation of class Array2D which implements dynamic two dimensional arrays...