Pajek format

The Pajek format is used by the (proprietary) Pajek software.

From http://leda.science.uoit.ca/java-libraries/jung-1.7.6/doc/edu/uci/ics/jung/io/PajekNetReader.html

Here is an example format for a directed graph without edge weights and edges specified in list form:

*vertices <# of vertices> 1 "a" 2 "b" 3 "c" *arcslist 1 2 3 2 3

Here is an example format for an undirected graph with edge weights and edges specified in non-list form:

*vertices <# of vertices> 1 "a" 2 "b" 3 "c" *edges 1 2 0.1 1 3 0.9  2 3 1.0

Complete specification at http://cneurocvs.rmki.kfki.hu/igraphbook/igraphbook-foreign.html#id2562929