Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

Tlp.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <string>
35 
36 
37 namespace ogdf {
38 
39 namespace tlp {
40 
41 
42 enum class Attribute {
43  label,
44  color,
45  position,
46  size,
47  shape,
48  unknown
49 };
50 
51 
52 std::string toString(const Attribute &attr);
53 Attribute toAttribute(const std::string &str);
54 
55 
56 } // end namespace tlp
57 
58 } // end namespace ogdf
Attribute
Definition: Tlp.h:42
Attribute toAttribute(const std::string &str)
std::string toString(const Attribute &attr)
The namespace for all OGDF objects.