Loading [MathJax]/extensions/tex2jax.js

Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
GDF.h
Go to the documentation of this file.
1
32#pragma once
33
35#include <ogdf/basic/Hashing.h>
36#include <ogdf/basic/graphics.h>
37
38#include <string>
39
40namespace ogdf {
41
42namespace gdf {
43
44
45enum class NodeAttribute {
46 // GDF standard
47 Name = 0,
48 Label,
49 X,
50 Y,
51 Z,
57
58 Shape,
59 Width,
60 Height,
61 // OGDF specific
63 Weight,
66};
67
68
69enum class EdgeAttribute {
70 // GDF standard
71 Label = 0,
72 Source,
73 Target,
74 Weight,
76 Color,
77 // OGDF specific
78 Bends,
80};
81
82
83std::string toString(const NodeAttribute& attr);
84std::string toString(const EdgeAttribute& attr);
85std::string toString(const Shape& shape);
86
87NodeAttribute toNodeAttribute(const std::string& str);
88EdgeAttribute toEdgeAttribute(const std::string& str);
89Shape toShape(const std::string& str);
90
91}
92}
Declaration and implementation of HashArray class.
Declaration of classes used for hashing.
Declaration of basic types for graphics.
Shape
Types for node shapes.
Definition graphics.h:116
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
NodeAttribute toNodeAttribute(const std::string &str)
EdgeAttribute
Definition GDF.h:69
std::string toString(const NodeAttribute &attr)
EdgeAttribute toEdgeAttribute(const std::string &str)
NodeAttribute
Definition GDF.h:45
Shape toShape(const std::string &str)
The namespace for all OGDF objects.