Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
DOT.h
Go to the documentation of this file.
1
32#pragma once
33
34#include <ogdf/basic/Graph.h>
37
38#include <string>
39
40namespace ogdf {
41
42namespace dot {
43
44enum class Attribute {
45 Id = 0,
46 Label,
48 Stroke,
49 Fill,
51 Width,
52 Height,
53 Shape,
54 Weight,
58 Arrow,
62 Type,
63 Dir,
66};
67
68std::string toString(const Attribute& attr);
69std::string toString(const Shape& shape);
70std::string toString(const EdgeArrow& arrow);
71std::string toString(const Graph::EdgeType& type);
72
73Attribute toAttribute(const std::string& str);
74Shape toShape(const std::string& str);
75EdgeArrow toArrow(const std::string& str);
76Graph::EdgeType toEdgeType(const std::string& str);
77
78}
79}
Includes declaration of graph class.
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Declaration and implementation of HashArray class.
EdgeType
The type of edges (only used in derived classes).
Definition Graph_d.h:566
Shape
Types for node shapes.
Definition graphics.h:116
EdgeArrow
Types for edge arrows.
Definition graphics.h:141
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
Graph::EdgeType toEdgeType(const std::string &str)
std::string toString(const Attribute &attr)
Shape toShape(const std::string &str)
Attribute
Definition DOT.h:44
EdgeArrow toArrow(const std::string &str)
Attribute toAttribute(const std::string &str)
The namespace for all OGDF objects.