Open
Graph Drawing
Framework

 v. snapshot-2018-03-28
 

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  Attribute {
  Attribute::Id = 0, Attribute::Label, Attribute::Template, Attribute::Stroke, Attribute::Fill, Attribute::StrokeType, Attribute::Width, Attribute::Height, Attribute::Shape, Attribute::Weight, Attribute::DoubleWeight, Attribute::Position, Attribute::Arrow, Attribute::StrokeWidth,
  Attribute::FillPattern, Attribute::Type, Attribute::Unknown
}
 

Functions

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

Enumeration Type Documentation

◆ Attribute

enum ogdf::dot::Attribute
strong
Enumerator
Id 
Label 
Template 
Stroke 
Fill 
StrokeType 
Width 
Height 
Shape 
Weight 
DoubleWeight 
Position 
Arrow 
StrokeWidth 
FillPattern 
Type 
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)

◆ toShape()

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

◆ toString() [1/3]

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

◆ toString() [2/3]

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

◆ toString() [3/3]

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