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>
39 #include <ogdf/basic/List.h>
40 #include <ogdf/basic/basic.h>
41 
42 namespace ogdf {
43 class GraphAttributes;
44 
50 private:
53 
56  double m_outWidth;
57 
58 public:
65  LinearLayout(double w, ListPure<node> o);
66 
68  LinearLayout();
69 
71  virtual ~LinearLayout();
72 
73  virtual void call(GraphAttributes& GA) override;
74 
76  virtual void setCustomOrder(bool o);
77 };
78 
79 }
ogdf::LinearLayout::m_nodeOrder
ListPure< node > m_nodeOrder
Contains a custom ordering for putting the graphs next to each other.
Definition: LinearLayout.h:55
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
Graph.h
Includes declaration of graph class.
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:49
ogdf::LinearLayout::m_outWidth
double m_outWidth
Definition: LinearLayout.h:56
ogdf::LinearLayout::m_customOrder
bool m_customOrder
If true a custom order stored in m_nodeOrder will be used.
Definition: LinearLayout.h:52
ogdf::ListPure
Doubly linked lists.
Definition: List.h:55
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
List.h
Declaration of doubly linked lists and iterators.
ogdf::LayoutModule
Interface of general layout algorithms.
Definition: LayoutModule.h:45