|
graph_analysis
|
Custom yml graph exporter. More...
#include <YamlWriter.hpp>


Public Member Functions | |
| void | write (const std::string &filename, const BaseGraph &graph) const |
| outputs the given graph to the given file More... | |
| void | write (const std::string &filename, const BaseGraph::Ptr &graph) const |
| outputs the given graph to the given file More... | |
Public Member Functions inherited from graph_analysis::io::Writer | |
| virtual | ~Writer () |
| void | write (const std::string &filename, const BaseGraph &graph) const |
Additional Inherited Members | |
Public Types inherited from graph_analysis::io::Writer | |
| typedef shared_ptr< Writer > | Ptr |
Custom yml graph exporter.
Exports requested graph to custom YAML/yml format (i.e. custom yml that simply lists the nodes with their properties and then lists edges and their properties)
| void graph_analysis::io::YamlWriter::write | ( | const std::string & | filename, |
| const BaseGraph & | graph | ||
| ) | const |
outputs the given graph to the given file
| filename | requested output filename |
| graph | requested graph to be printed |
|
virtual |
outputs the given graph to the given file
| filename | requested output filename |
| graph | smart pointer to the requested graph to be printed |
Reimplemented from graph_analysis::io::Writer.
1.8.13