graphgen::pajek Class Reference
[input output of undirected graphs]

pajek output format More...

#include <inout.hpp>

Collaboration diagram for graphgen::pajek:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 pajek (const undirected_graph &ref)
std::ostream & print (std::ostream &os) const


Detailed Description

pajek output format

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.


The documentation for this class was generated from the following files:

Generated on Wed Jun 2 14:49:12 2010 for GraphGen by  doxygen 1.5.6