Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
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
48namespace ogdf {
49
55private:
58
61 double m_outWidth;
62
63public:
71
74
76 virtual ~LinearLayout();
77
78 virtual void call(GraphAttributes& GA) override;
79
81 virtual void setCustomOrder(bool o);
82};
83
84}
Includes declaration of graph class.
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Declaration of interface for layout algorithms (class LayoutModule)
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
Mathematical Helpers.
Basic declarations, included by all source files.
Stores additional attributes of a graph (like layout information).
Interface of general layout algorithms.
Layout the graph with nodes next to each other with natural or custom order and draw the edges as sem...
ListPure< node > m_nodeOrder
Contains a custom ordering for putting the graphs next to each other.
virtual void setCustomOrder(bool o)
Interface function to toggle custom ordering.
bool m_customOrder
If true a custom order stored in m_nodeOrder will be used.
LinearLayout(double w, ListPure< node > o)
Constructor that takes a desired width and a custom ordering.
virtual ~LinearLayout()
Standard destructor.
LinearLayout()
Constructor that uses a standard width and no custom order of the nodes.
virtual void call(GraphAttributes &GA) override
Computes a layout of graph GA.
Doubly linked lists.
Definition List.h:217
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition config.h:101
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.