Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

LayoutStatistics.h
Go to the documentation of this file.
1 
33 #pragma once
34 
36 
37 namespace ogdf {
38 
39 
41 
45 public:
47 
52  static ArrayBuffer<double> edgeLengths(const GraphAttributes& ga, bool considerSelfLoops = false);
53 
54 
56 
61  static ArrayBuffer<int> numberOfBends(const GraphAttributes& ga, bool considerSelfLoops = false);
62 
63 
65 
72  static ArrayBuffer<double> angles(const GraphAttributes& ga, bool considerBends = true);
73 
74 
76 
90  static ArrayBuffer<int> numberOfCrossings(const GraphAttributes& ga);
91 
92 
95 
106  static ArrayBuffer<int> numberOfNodeCrossings(const GraphAttributes& ga);
107 
108 
110 
120  static ArrayBuffer<int> numberOfNodeOverlaps(const GraphAttributes& ga);
121 
122 
124 
143  static void intersectionGraph(const GraphAttributes& ga, Graph& H, NodeArray<DPoint>& points,
144  NodeArray<node>& origNode, EdgeArray<edge>& origEdge);
145 };
146 
147 }
ogdf::ArrayBuffer< double >
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.
ogdf::internal::GraphRegisteredArray
RegisteredArray for nodes, edges and adjEntries of a graph.
Definition: Graph_d.h:651
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:862
ogdf::LayoutStatistics
Computes statistical information about a layout.
Definition: LayoutStatistics.h:44
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::internal::EdgeArrayBase2
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
Definition: Graph_d.h:709