DOKK / manpages / debian 12 / nauty / nauty-ancestorg.1.en
NAUTY-ANCESTORG(1) Nauty Manual NAUTY-ANCESTORG(1)

nauty-ancestorg - removes a specified number of final vertices

ancestorg [-q] [-g#:#|-g#] [infile [outfile]]

The g-th generation ancestor of a graph is the graph obtained by removing
the final g vertices. The 0-th generation ancestor is the graph itself. For each input graph, write the ancestors whose generation is given by the g argument. No zero-sized graphs are written. Output is always in graph6 format.
The output file has a header if and only if the input file does.
Specify a generation or range of generations (default: all)
Suppress auxiliary information
January 2023 nauty 2.8.6