nauty-listg man page

nauty-listg — display graphs in a variety of forms


listg [-fp#:#l#o#Ftq] [-a|-A|-c|-d|-e|-H|-M|-s|-b|-G|-y|-Yxxx] [infile [outfile]]


Write graphs in human-readable format.


: assume inputs have same size (only used from a file

and only if -p is given)

-p#, -p#:#, -p#-# : only display one graph or a sequence of


The first graph is number 1.  A second number

which is empty or zero means infinity. This option won't work for incremental input.


: write as adjacency matrix, not as list of adjacencies


: same as -a with a space between entries

-l# : specify screen width limit (default 78, 0 means no limit)

This is not currently implemented with -a or -A.

-o# : specify number of first vertex (default is 0).


: write output to satisfy dreadnaut


: write ascii form with minimal line-breaks


: write a list of edges, preceded by the order and the

number of edges


: write in HCP operations research format


: write in Magma format


: write matrix in Maple format


: write in Bliss format


: write in GRAPE format


: write in dot file format

-Yxxx : extra dotty commands for dot files (arg continues to end of param)


: write upper triangle only (affects -a, -A, -d and default)


: write only the numbers of vertices and edges


: write a form-feed after each graph except the last


: suppress auxiliary output

-a, -A, -c, -d, -M, -W, -H and -e are incompatible.


February 2017 nauty 2.6.7 Nauty Manual