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. | |
Class for creating Graphviz trees.
| Agnode_t * add_node | ( | const char * | name, |
| const char * | label = nullptr ) |
Add a node to the graph.
| label | if non-null, be used for the display name of the node. |
| void set_node_attribute | ( | Agnode_t * | node, |
| const char * | attr, | ||
| const char * | value ) |
Set a node attribute.
| Agedge_t * add_edge | ( | Agnode_t * | parent, |
| Agnode_t * | child ) |
Add an edge to the graph.
| agstr html_label | ( | const char * | label | ) |
Convert a label to HTML.