Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::gdf Namespace Reference

Classes

class  Parser
 

Enumerations

enum  EdgeAttribute { EdgeAttribute::Label = 0, EdgeAttribute::Source, EdgeAttribute::Target, EdgeAttribute::Weight, EdgeAttribute::Directed, EdgeAttribute::Color, EdgeAttribute::Bends, EdgeAttribute::Unknown }
 
enum  NodeAttribute {
  NodeAttribute::Name = 0, NodeAttribute::Label, NodeAttribute::X, NodeAttribute::Y, NodeAttribute::Z, NodeAttribute::FillColor, NodeAttribute::FillPattern, NodeAttribute::StrokeColor, NodeAttribute::StrokeType, NodeAttribute::StrokeWidth, NodeAttribute::Shape, NodeAttribute::Width, NodeAttribute::Height, NodeAttribute::Template,
  NodeAttribute::Weight, NodeAttribute::FillBgColor, NodeAttribute::Unknown
}
 

Functions

EdgeAttribute toEdgeAttribute (const std::string &str)
 
NodeAttribute toNodeAttribute (const std::string &str)
 
Shape toShape (const std::string &str)
 
std::string toString (const EdgeAttribute &attr)
 
std::string toString (const NodeAttribute &attr)
 
std::string toString (const Shape &shape)
 

Enumeration Type Documentation

◆ EdgeAttribute

Enumerator
Label 
Source 
Target 
Weight 
Directed 
Color 
Bends 
Unknown 

Definition at line 67 of file GDF.h.

◆ NodeAttribute

Enumerator
Name 
Label 
FillColor 
FillPattern 
StrokeColor 
StrokeType 
StrokeWidth 
Shape 
Width 
Height 
Template 
Weight 
FillBgColor 
Unknown 

Definition at line 43 of file GDF.h.

Function Documentation

◆ toEdgeAttribute()

EdgeAttribute ogdf::gdf::toEdgeAttribute ( const std::string &  str)

◆ toNodeAttribute()

NodeAttribute ogdf::gdf::toNodeAttribute ( const std::string &  str)

◆ toShape()

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

◆ toString() [1/3]

std::string ogdf::gdf::toString ( const EdgeAttribute attr)

◆ toString() [2/3]

std::string ogdf::gdf::toString ( const NodeAttribute attr)

◆ toString() [3/3]

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