Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

FPPLayout.h
Go to the documentation of this file.
1 
33 #pragma once
34 
35 #include <ogdf/basic/Graph_d.h>
37 
38 namespace ogdf
39 {
40 
54 public:
55  FPPLayout();
56 
57 private:
58  virtual void doCall(
59  const Graph &G,
60  adjEntry adjExternal,
61  GridLayout &gridLayout,
62  IPoint &boundingBox,
63  bool fixEmbedding ) override;
64 
65  void computeOrder(
66  const GraphCopy &G,
67  NodeArray<int> &num,
68  NodeArray<adjEntry> &e_wp,
69  NodeArray<adjEntry> &e_wq,
70  adjEntry e_12,
71  adjEntry e_2n,
72  adjEntry e_n1 );
73 
74  void computeCoordinates(
75  const GraphCopy &G,
76  IPoint &boundingBox,
77  GridLayout &gridLayout,
78  NodeArray<int> &num,
79  NodeArray<adjEntry> &e_wp,
80  NodeArray<adjEntry> &e_wq );
81 };
82 
83 }
Representation of a graph&#39;s grid layout.
Definition: GridLayout.h:46
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:492
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
Base class for planar grid layout algorithms.
Declaration of interface for grid layout algorithms.
Copies of graphs supporting edge splitting.
Definition: GraphCopy.h:249
Pure declaration header, find template implementation in Graph.h.
The class FPPLayout represents the layout algorithm by de Fraysseix, Pach, Pollack [DPP90]...
Definition: FPPLayout.h:53
The namespace for all OGDF objects.
Class for adjacency list elements.
Definition: Graph_d.h:79