Public Types | |
using | NodePrinter = std::function< std::map< std::string, std::string >(typename GraphT::NodeRef)> |
using | EdgePrinter = std::function< std::map< std::string, std::string >(typename GraphT::EdgeRef)> |
Public Member Functions | |
DotGenerator (NodePrinter nodePrinter, EdgePrinter edgePrinter) | |
std::string | convert (const typename GraphT::SubgraphType &sg, const std::vector< typename GraphT::SubgraphType * > &subgraphs) const |
std::string | convert (const typename GraphT::SubgraphType &sg) const |
std::string | convertStruct (const typename GraphT::SubgraphType &sg) const |
NOTE No subgraph support Converts given graph into DOT string w/operator input-order preserved Assumes graph is acyclic, nodes are unique_ptr (1) Get & print input nodes (nodes w/o parents) More... | |
Static Public Member Functions | |
static std::map< std::string, std::string > | defaultEdgePrinter (typename GraphT::EdgeRef) |
|
inline |
NOTE No subgraph support Converts given graph into DOT string w/operator input-order preserved Assumes graph is acyclic, nodes are unique_ptr (1) Get & print input nodes (nodes w/o parents)