Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::gml Namespace Reference

Classes

struct  Object
 Represents node in GML parse tree. More...
 
class  Parser
 Reads GML file and constructs GML parse tree. More...
 

Enumerations

enum  Key {
  Key::Id, Key::Label, Key::Creator, Key::Name, Key::Graph, Key::Version, Key::Directed, Key::Node, Key::Edge, Key::Graphics, Key::X, Key::Y, Key::Z, Key::W,
  Key::H, Key::Type, Key::Width, Key::Source, Key::Target, Key::Arrow, Key::Outline, Key::Point, Key::Bends, Key::Generalization, Key::SubGraph, Key::Fill, Key::FillBg, Key::Cluster,
  Key::Root, Key::Vertex, Key::Color, Key::Height, Key::Stipple, Key::Pattern, Key::LineWidth, Key::Template, Key::Weight, Key::EdgeIntWeight, Key::Unknown
}
 
enum  ObjectType { ObjectType::IntValue, ObjectType::DoubleValue, ObjectType::StringValue, ObjectType::ListBegin, ObjectType::ListEnd, ObjectType::Key, ObjectType::Eof, ObjectType::Error }
 

Functions

EdgeArrow toArrow (const std::string &str)
 
Key toKey (const std::string &str)
 
Graph::NodeType toNodeType (const std::string &str)
 
std::string toString (const EdgeArrow &arrow)
 
std::string toString (const Graph::NodeType &type)
 
std::string toString (const Key &attr)
 

Enumeration Type Documentation

◆ Key

enum ogdf::gml::Key
strong
Enumerator
Id 
Label 
Creator 
Name 
Graph 
Version 
Directed 
Node 
Edge 
Graphics 
Type 
Width 
Source 
Target 
Arrow 
Outline 
Point 
Bends 
Generalization 
SubGraph 
Fill 
FillBg 
Cluster 
Root 
Vertex 
Color 
Height 
Stipple 
Pattern 
LineWidth 
Template 
Weight 
EdgeIntWeight 
Unknown 

Definition at line 55 of file GML.h.

◆ ObjectType

enum ogdf::gml::ObjectType
strong
Enumerator
IntValue 
DoubleValue 
StringValue 
ListBegin 
ListEnd 
Key 
Eof 
Error 

Definition at line 44 of file GML.h.

Function Documentation

◆ toArrow()

EdgeArrow ogdf::gml::toArrow ( const std::string &  str)

◆ toKey()

Key ogdf::gml::toKey ( const std::string &  str)

◆ toNodeType()

Graph::NodeType ogdf::gml::toNodeType ( const std::string &  str)

◆ toString() [1/3]

std::string ogdf::gml::toString ( const EdgeArrow arrow)

◆ toString() [2/3]

std::string ogdf::gml::toString ( const Graph::NodeType type)

◆ toString() [3/3]

std::string ogdf::gml::toString ( const Key attr)