Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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

Classes

class  Parser
 

Enumerations

enum class  EdgeAttribute { Label = 0 , Source , Target , Weight , Directed , Color , Bends , Unknown }
 
enum class  NodeAttribute {
  Name = 0 , Label , X , Y , Z , FillColor , FillPattern , StrokeColor , StrokeType , StrokeWidth , Shape , Width , Height , Template ,
  Weight , FillBgColor , 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 69 of file GDF.h.

◆ NodeAttribute

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

Definition at line 45 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)