Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

LinearLayout.h
Go to the documentation of this file.
1 
35 #pragma once
36 
37 #include <ogdf/basic/basic.h>
38 #include <ogdf/basic/Graph.h>
40 #include <ogdf/basic/geometry.h>
42 #include <cmath>
43 #include <math.h>
44 #include <ogdf/basic/Math.h>
45 
46 namespace ogdf {
47 
53 private:
56 
59  double m_outWidth;
60 public:
61 
69  double w,
71  );
72 
74  LinearLayout();
75 
77  virtual ~LinearLayout();
78 
79  virtual void call(GraphAttributes& GA) override;
80 
82  virtual void setCustomOrder(bool o);
83 };
84 
85 }
bool m_customOrder
If true a custom order stored in m_nodeOrder will be used.
Definition: LinearLayout.h:55
Declaration of class GraphAttributes which extends a Graph by additional attributes.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
Doubly linked lists.
Definition: List.h:41
Mathematical Helpers.
Stores additional attributes of a graph (like layout information).
Layout the graph with nodes next to each other with natural or custom order and draw the edges as sem...
Definition: LinearLayout.h:52
Declaration of interface for layout algorithms (class LayoutModule)
Interface of general layout algorithms.
Definition: LayoutModule.h:44
Basic declarations, included by all source files.
Includes declaration of graph class.
ListPure< node > m_nodeOrder
Contains a custom ordering for putting the graphs next to each other.
Definition: LinearLayout.h:58
The namespace for all OGDF objects.
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment, DPolygon, DRect, DIntersectableRect.