FleCSI Core API Version: 2.3.2
 
Loading...
Searching...
No Matches
graphviz Class Reference

Class for creating Graphviz trees. More...

Public Member Functions

Agedge_t * add_edge (Agnode_t *parent, Agnode_t *child)
 Add an edge to the graph.
 
Agnode_t * add_node (const char *name, const char *label=nullptr)
 Add a node to the graph.
 
agstr html_label (const char *label)
 Convert a label to HTML.
 
void set_node_attribute (Agnode_t *node, const char *attr, const char *value)
 Set a node attribute.
 

Detailed Description

Class for creating Graphviz trees.

Member Function Documentation

◆ add_node()

Agnode_t * add_node ( const char * name,
const char * label = nullptr )

Add a node to the graph.

Parameters
labelif non-null, be used for the display name of the node.

◆ set_node_attribute()

void set_node_attribute ( Agnode_t * node,
const char * attr,
const char * value )

Set a node attribute.

◆ add_edge()

Agedge_t * add_edge ( Agnode_t * parent,
Agnode_t * child )

Add an edge to the graph.

◆ html_label()

agstr html_label ( const char * label)

Convert a label to HTML.