Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

DOT.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/Graph.h>
36 #include <ogdf/basic/HashArray.h>
37 #include <string>
38 
39 
40 namespace ogdf {
41 
42 namespace dot {
43 
44 enum class Attribute {
45  Id = 0,
46  Label,
47  Template,
48  Stroke,
49  Fill,
50  Width,
51  Height,
52  Shape,
53  Weight,
54  Position,
55  Arrow,
56  Unknown
57 };
58 
59 std::string toString(const Attribute &attr);
60 std::string toString(const Shape &shape);
61 std::string toString(const EdgeArrow &arrow);
62 
63 Attribute toAttribute(const std::string &str);
64 Shape toShape(const std::string &str);
65 EdgeArrow toArrow(const std::string &str);
66 
67 } // end namespace dot
68 
69 } // end namespace ogdf
Declaration and implementation of HashArray class.
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Shape toShape(const std::string &str)
Attribute toAttribute(const std::string &str)
EdgeArrow
Types for edge arrows.
Definition: graphics.h:142
Shape
Types for node shapes.
Definition: graphics.h:120
std::string toString(const Attribute &attr)
Includes declaration of graph class.
EdgeArrow toArrow(const std::string &str)
The namespace for all OGDF objects.
Attribute
Definition: DOT.h:44