![]() |
dfx 0.1.0
Linux-based dynamic dataflow executor
|
Export a dfx::Graph::Controller as a Graphviz DOT string. More...
#include <dfx-graph/exporter/Dot.hpp>
Classes | |
| struct | Style |
| Style used when generating a graph in dot format. More... | |
Public Member Functions | |
| Dot (Controller const &graph, Style style=defaultStyle()) | |
| Construct a DOT exporter for a given graph controller. | |
| std::string | process () const |
| Generate the DOT representation of the graph. | |
Static Public Member Functions | |
| static Style | defaultStyle () |
| Returns the default dot format style. | |
Export a dfx::Graph::Controller as a Graphviz DOT string.
The exporter references the provided graph controller; it does not take ownership and assumes the controller outlives the exporter instance.
Typicall usage:
|
explicit |
Construct a DOT exporter for a given graph controller.
| graph | Graph controller to export (must outlive this object). |
| style | Styling customization options. |
|
static |
Returns the default dot format style.
| std::string dfx::Graph::Exporter::Dot::process | ( | ) | const |
Generate the DOT representation of the graph.
The output contains: