Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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