Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

LayoutStatistics.h
Go to the documentation of this file.
1 
33 #pragma once
34 
36 
37 
38 namespace ogdf {
39 
40 
42 
46 {
47 public:
49 
54  static ArrayBuffer<double> edgeLengths(
55  const GraphAttributes &ga,
56  bool considerSelfLoops = false);
57 
58 
60 
65  static ArrayBuffer<int> numberOfBends(
66  const GraphAttributes &ga,
67  bool considerSelfLoops = false);
68 
69 
71 
78  static ArrayBuffer<double> angles(
79  const GraphAttributes &ga,
80  bool considerBends = true);
81 
82 
84 
98  static ArrayBuffer<int> numberOfCrossings(const GraphAttributes &ga);
99 
100 
103 
114  static ArrayBuffer<int> numberOfNodeCrossings(const GraphAttributes &ga);
115 
116 
118 
128  static ArrayBuffer<int> numberOfNodeOverlaps(const GraphAttributes &ga);
129 
130 
132 
150  static void intersectionGraph(const GraphAttributes &ga, Graph &H, NodeArray<DPoint> &points, NodeArray<node> &origNode, EdgeArray<edge> &origEdge);
151 };
152 
153 }
Declaration of class GraphAttributes which extends a Graph by additional attributes.
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
Computes statistical information about a layout.
Dynamic arrays indexed with edges.
Definition: EdgeArray.h:112
Dynamic arrays indexed with nodes.
Definition: Graph_d.h:438
Stores additional attributes of a graph (like layout information).
The namespace for all OGDF objects.