Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::dot Namespace Reference

Classes

class  Ast
 DOT format abstract syntax tree class, based on official documentation. More...
 
class  Lexer
 Lexical analysis tool. More...
 
class  Parser
 DOT format parser class. More...
 
struct  SubgraphData
 A helper structure containing information for recursive graph reading. More...
 
struct  Token
 Just a simple token struct representing a DOT file fragment. More...
 

Enumerations

enum class  Attribute {
  Id = 0 , Label , Template , Stroke , Fill , StrokeType , Width , Height , Shape , Weight , DoubleWeight , Position , LabelPosition , Arrow ,
  StrokeWidth , FillPattern , FillBackground , Type , Dir , SubGraphs , Unknown
}
 

Functions

EdgeArrow toArrow (const std::string &str)
 
Attribute toAttribute (const std::string &str)
 
Graph::EdgeType toEdgeType (const std::string &str)
 
Shape toShape (const std::string &str)
 
std::string toString (const Attribute &attr)
 
std::string toString (const EdgeArrow &arrow)
 
std::string toString (const Graph::EdgeType &type)
 
std::string toString (const Shape &shape)
 

Enumeration Type Documentation

◆ Attribute

Enumerator
Id 
Label 
Template 
Stroke 
Fill 
StrokeType 
Width 
Height 
Shape 
Weight 
DoubleWeight 
Position 
LabelPosition 
Arrow 
StrokeWidth 
FillPattern 
FillBackground 
Type 
Dir 
SubGraphs 
Unknown 

Definition at line 44 of file DOT.h.

Function Documentation

◆ toArrow()

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

◆ toAttribute()

Attribute ogdf::dot::toAttribute ( const std::string &  str)

◆ toEdgeType()

Graph::EdgeType ogdf::dot::toEdgeType ( const std::string &  str)

◆ toShape()

Shape ogdf::dot::toShape ( const std::string &  str)

◆ toString() [1/4]

std::string ogdf::dot::toString ( const Attribute attr)

◆ toString() [2/4]

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

◆ toString() [3/4]

std::string ogdf::dot::toString ( const Graph::EdgeType type)

◆ toString() [4/4]

std::string ogdf::dot::toString ( const Shape shape)