Scroll to navigation

NAUTY-NBRHOODG(1) User Commands NAUTY-NBRHOODG(1)

NAME

nauty-nbrhoodg - graph-processing utility from the nauty suite

SYNOPSIS

nbrhoodg [-lq] [-c|-C] [-d#|d#:#] [-v#|-v#:#] [infile [outfile]]

DESCRIPTION

Extract neighbourhoods of vertices of a graph.
The output file has a header if and only if the input file does. No isomorph reduction is done. No null graphs are written.
Canonically label outputs (default is same labelling as input)
Extract closed neighbourhoods instead.
Extract non-neighbourhoods instead.

-D# Extract neighbourhoods out to distance # (implies -C)

-d# -d#:# Only include vertices with original degree in the given range

-v# -v#:# Only include vertices with these vertex numbers (first is 0).

No empty graphs are output. For digraphs, out-degree and out-neighbourhoods are used.
Suppress auxiliary information
November 2026 nauty-nbrhoodg 2.9.3