---
name: "nauty-ranlabg"
section: "1"
platform: "linux"
package: "nauty"
version: "2.8.9+ds-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nauty-ranlabg"
---

# nauty-ranlabg(1)

randomly relabel graphs

## NAME

nauty-ranlabg - randomly relabel graphs

## SYNOPSIS

**ranlabg** \[*-q*\] \[*-f#*\] \[*-m#*\] \[*-S#*\] \[*infile* \[*outfile*\]\]

## DESCRIPTION

-

  Randomly relabel graphs.

-

  The output file has a header if and only if the input file does. Each graph is written in the same format as it is read.

**-f**# Don't relabel the first # vertices.

**-m**# Output # randomly labelled copies of each input (default 1).

**-S**# Set random number seed (taken from clock otherwise).

- **-q**

  Suppress auxiliary information.
