![]() |
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>
Public Member Functions | |
| Dot (Controller const &graph) | |
| Construct a DOT exporter for a given graph controller. | |
| std::string | process () const |
| Generate the DOT representation of the graph. | |
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:
| dfx::Graph::Exporter::Dot::Dot | ( | Controller const & | graph | ) |
Construct a DOT exporter for a given graph controller.
| graph | Graph controller to export (must outlive this object). |
| std::string dfx::Graph::Exporter::Dot::process | ( | ) | const |
Generate the DOT representation of the graph.
The output contains: