| 138 | } |
| 139 | |
| 140 | void DotGraphPrinter::print_header(const Graph &g, std::ostream &os) |
| 141 | { |
| 142 | // Print graph name |
| 143 | std::string graph_name = (g.name().empty()) ? "Graph" : g.name(); |
| 144 | os << "digraph " << graph_name << "{\n"; |
| 145 | } |
| 146 | |
| 147 | void DotGraphPrinter::print_footer(const Graph &g, std::ostream &os) |
| 148 | { |