Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

LinearLayout.h
Go to the documentation of this file.
1 
35 #pragma once
36 
37 #include <ogdf/basic/Graph.h>
40 #include <ogdf/basic/Math.h>
41 #include <ogdf/basic/basic.h>
42 #include <ogdf/basic/geometry.h>
43 
44 #include <cmath>
45 
46 #include <math.h>
47 
48 namespace ogdf {
49 
55 private:
58 
61  double m_outWidth;
62 
63 public:
70  LinearLayout(double w, ListPure<node> o);
71 
73  LinearLayout();
74 
76  virtual ~LinearLayout();
77 
78  virtual void call(GraphAttributes& GA) override;
79 
81  virtual void setCustomOrder(bool o);
82 };
83 
84 }
ogdf::LinearLayout::m_nodeOrder
ListPure< node > m_nodeOrder
Contains a custom ordering for putting the graphs next to each other.
Definition: LinearLayout.h:60
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
ogdf::GraphAttributes
Stores additional attributes of a graph (like layout information).
Definition: GraphAttributes.h:66
GraphAttributes.h
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Graph.h
Includes declaration of graph class.
geometry.h
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
LayoutModule.h
Declaration of interface for layout algorithms (class LayoutModule)
ogdf::LinearLayout
Layout the graph with nodes next to each other with natural or custom order and draw the edges as sem...
Definition: LinearLayout.h:54
ogdf::LinearLayout::m_outWidth
double m_outWidth
Definition: LinearLayout.h:61
ogdf::LinearLayout::m_customOrder
bool m_customOrder
If true a custom order stored in m_nodeOrder will be used.
Definition: LinearLayout.h:57
Math.h
Mathematical Helpers.
ogdf::ListPure
Doubly linked lists.
Definition: List.h:44
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::LayoutModule
Interface of general layout algorithms.
Definition: LayoutModule.h:44