Your company here — click to reach over 10,000 unique daily visitors

nauty-listg - Man Page

display graphs in a variety of forms


listg [-fp#:#l#o#Ftq] [-a|-A|-c|-d|-e|-H|-M|-W|-L|S|-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


: (only with -M or -W) write Laplacian rather than adjacency matrix


: (only with -M or -W) write signless Laplacian not adjacency matrix


: 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.


April 2024 nauty 2.8.8 Nauty Manual