|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Functor for generating Graphviz specifications. More...
#include <generate_graph.H>
Public Member Functions | |
| void | operator() (GT &g, std::ostream &out, const std::string &rankdir="TB", float ranksep=0.4, float nodesep=0.4) |
| Generate DOT specification for the graph. | |
Functor for generating Graphviz specifications.
A convenience functor class that wraps generate_graphviz() with full template parameter control.
| GT | Graph type |
| Write_Node | Functor returning node label string |
| Write_Arc | Functor returning arc label string |
| Shade_Node | Functor for node shading (returns string command) |
| Shade_Arc | Functor for arc shading (returns string command) |
| Dashed_Node | (unused) For dashed node styling |
| Dashed_Arc | (unused) For dashed arc styling |
| SA | Arc filter |
| SN | Node filter |
Definition at line 748 of file generate_graph.H.
|
inline |
Generate DOT specification for the graph.
| g | Graph to visualize |
| out | Output stream |
| rankdir | Layout direction: "TB", "BT", "LR", "RL" |
| ranksep | Separation between ranks |
| nodesep | Separation between nodes |
Definition at line 758 of file generate_graph.H.
References Aleph::generate_graphviz(), and Aleph::maps().