Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Drawing.h
Go to the documentation of this file.
1 
31 #pragma once
32 
33 namespace ogdf {
34 namespace internal {
35 namespace gcm {
36 namespace graph {
37 
38 template<typename Kernel, typename Graph>
39 class Drawing {
40 private:
42 
43 public:
44  Drawing(Graph& graph) : m_graph(graph) {
45  //nothing to do
46  }
47 
48  Graph& get_graph() { return m_graph; }
49 
50  Graph& get_graph() const { return m_graph; }
51 };
52 
53 }
54 }
55 }
56 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
ogdf::internal::gcm::graph::Drawing::Drawing
Drawing(Graph &graph)
Definition: Drawing.h:44
ogdf::internal::gcm::graph::Drawing::get_graph
Graph & get_graph() const
Definition: Drawing.h:50
ogdf::internal::gcm::graph::Drawing::m_graph
Graph & m_graph
Definition: Drawing.h:41
ogdf::internal::gcm::graph::Drawing::get_graph
Graph & get_graph()
Definition: Drawing.h:48
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:862
ogdf::internal::gcm::graph::Drawing
Definition: Drawing.h:39