| 123 | } |
| 124 | |
| 125 | void DotGraphPrinter::print(const Graph &g, std::ostream &os) |
| 126 | { |
| 127 | // Print header |
| 128 | print_header(g, os); |
| 129 | |
| 130 | // Print nodes |
| 131 | print_nodes(g, os); |
| 132 | |
| 133 | // Print edges |
| 134 | print_edges(g, os); |
| 135 | |
| 136 | // Print footer |
| 137 | print_footer(g, os); |
| 138 | } |
| 139 | |
| 140 | void DotGraphPrinter::print_header(const Graph &g, std::ostream &os) |
| 141 | { |