|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Functor for generating Graphviz specifications. More...
#include <generate_graph.H>
Public Member Functions | |
| Generate_Graphviz (SA __sa=SA()) | |
| Keeps sa, the filter of the arcs. | |
| 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. | |
Public Attributes | |
| SA | sa |
| the filter of the arcs, which each generation copies | |
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 773 of file generate_graph.H.
|
inlineexplicit |
Keeps sa, the filter of the arcs.
Definition at line 778 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 788 of file generate_graph.H.
References Aleph::generate_graphviz(), out, and Aleph::Generate_Graphviz< GT, Write_Node, Write_Arc, Shade_Node, Shade_Arc, Dashed_Node, Dashed_Arc, SA, SN >::sa.
| SA Aleph::Generate_Graphviz< GT, Write_Node, Write_Arc, Shade_Node, Shade_Arc, Dashed_Node, Dashed_Arc, SA, SN >::sa |
the filter of the arcs, which each generation copies
Definition at line 775 of file generate_graph.H.
Referenced by Aleph::Generate_Graphviz< GT, Write_Node, Write_Arc, Shade_Node, Shade_Arc, Dashed_Node, Dashed_Arc, SA, SN >::operator()().