Open
Graph Drawing
Framework
v. 2023.09 (Elderberry)
Overview
Class Hierarchy
Class Index
Class List
Members
Namespaces
Source Files
GDF.h
Go to the documentation of this file.
1
32
#pragma once
33
34
#include <
ogdf/basic/graphics.h
>
35
36
#include <string>
37
38
namespace
ogdf
{
39
40
namespace
gdf {
41
42
43
enum class
NodeAttribute
{
44
// GDF standard
45
Name
= 0,
46
Label
,
47
X
,
48
Y
,
49
Z
,
50
FillColor
,
51
FillPattern
,
52
StrokeColor
,
53
StrokeType
,
54
StrokeWidth
,
55
56
Shape
,
57
Width
,
58
Height
,
59
// OGDF specific
60
Template
,
61
Weight
,
62
FillBgColor
,
63
Unknown
64
};
65
66
67
enum class
EdgeAttribute
{
68
// GDF standard
69
Label
= 0,
70
Source
,
71
Target
,
72
Weight
,
73
Directed
,
74
Color
,
75
// OGDF specific
76
Bends
,
77
Unknown
78
};
79
80
81
std::string
toString
(
const
NodeAttribute
& attr);
82
std::string
toString
(
const
EdgeAttribute
& attr);
83
std::string
toString
(
const
Shape
& shape);
84
85
NodeAttribute
toNodeAttribute
(
const
std::string& str);
86
EdgeAttribute
toEdgeAttribute
(
const
std::string& str);
87
Shape
toShape
(
const
std::string& str);
88
89
}
90
}
ogdf
The namespace for all OGDF objects.
Definition:
multilevelmixer.cpp:39
ogdf::gdf::EdgeAttribute::Weight
@ Weight
ogdf::gdf::EdgeAttribute::Source
@ Source
graphics.h
Declaration of basic types for graphics.
ogdf::gdf::NodeAttribute::Name
@ Name
ogdf::gdf::NodeAttribute::Label
@ Label
ogdf::gdf::NodeAttribute::StrokeColor
@ StrokeColor
ogdf::gdf::EdgeAttribute::Target
@ Target
ogdf::gdf::EdgeAttribute::Unknown
@ Unknown
ogdf::gdf::NodeAttribute::StrokeWidth
@ StrokeWidth
ogdf::gdf::toString
std::string toString(const NodeAttribute &attr)
ogdf::gdf::toShape
Shape toShape(const std::string &str)
ogdf::gdf::EdgeAttribute::Directed
@ Directed
ogdf::gdf::NodeAttribute::Width
@ Width
ogdf::gdf::NodeAttribute::Weight
@ Weight
ogdf::gdf::NodeAttribute::FillColor
@ FillColor
ogdf::gdf::NodeAttribute::X
@ X
ogdf::gdf::NodeAttribute
NodeAttribute
Definition:
GDF.h:43
ogdf::gdf::NodeAttribute::Shape
@ Shape
ogdf::gdf::toEdgeAttribute
EdgeAttribute toEdgeAttribute(const std::string &str)
ogdf::gdf::NodeAttribute::FillPattern
@ FillPattern
ogdf::gdf::EdgeAttribute::Bends
@ Bends
ogdf::gdf::EdgeAttribute
EdgeAttribute
Definition:
GDF.h:67
ogdf::gdf::NodeAttribute::Template
@ Template
ogdf::gdf::NodeAttribute::Z
@ Z
ogdf::gdf::NodeAttribute::Unknown
@ Unknown
ogdf::Shape
Shape
Types for node shapes.
Definition:
graphics.h:120
ogdf::gdf::toNodeAttribute
NodeAttribute toNodeAttribute(const std::string &str)
ogdf::gdf::EdgeAttribute::Color
@ Color
ogdf::gdf::NodeAttribute::Y
@ Y
ogdf::gdf::NodeAttribute::StrokeType
@ StrokeType
ogdf::gdf::NodeAttribute::FillBgColor
@ FillBgColor
ogdf::gdf::NodeAttribute::Height
@ Height
ogdf::gdf::EdgeAttribute::Label
@ Label
include
ogdf
fileformats
GDF.h
This site is powered by Netlify.
© 1999–2024
The OGDF Team