DOKK / manpages / debian 12 / nauty / nauty-nbrhoodg.1.en
NAUTY-NBRHOODG(1) Nauty Manual NAUTY-NBRHOODG(1)

nauty-nbrhoodg - extract neighbourhoods of vertices

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

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

-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
January 2023 nauty 2.8.6