#include <inout.hpp>
Public Member Functions | |
pajek (const undirected_graph &ref) | |
std::ostream & | print (std::ostream &os) const |
Print the graph in a format usbale by the graph analysis and visualization program pajek. The format organizes the graph information in three parts, separated by their keywords:
*Vertices <no. of vertices> <list of vertices> *Arcs <list of directed edges> *Edges <list of undirected edges>
Edges are printed as undirected edges, so the Arcs list stays empty. The lists can contain also information like labels, color, style, etc. For now, the identifiers of vertices are printed as labels.