Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
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 class  Key {
  Id , Label , Creator , Name , Graph , Version , Directed , Node , Edge , Graphics , X , Y , Z , W ,
  H , Type , Width , Source , Target , Arrow , Outline , Point , Bends , Generalization , SubGraph , Fill , FillBg , Cluster ,
  Root , Vertex , Color , Height , Stipple , Pattern , LineWidth , Template , Weight , EdgeIntWeight , Unknown
}
 
enum class  ObjectType { IntValue , DoubleValue , StringValue , ListBegin , ListEnd , Key , Eof , 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

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

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)