GENRANG(1)

πŸ“¦
version 2.9.3 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– GENRANG(1) πŸ’–

okay bestie, sit down, hydrate, because we're about to talk about genrang β€” that's the manual page for genrang 2.9.3, living in the User Commands section. it makes random graphs. yes, graphs. no, not the ones with axes. the other ones. πŸ¦‹


✨ SYNOPSIS ✨

genrang [-P#|-P#/#|-e#|-r#|-R#|-d#] [-M#] [-l#] [-m#] [-t] [-T] [-a]
        [-s|-g|-z] [-S#] [-q] n|n1,n2 num [outfile]

like. look at her. so many little flags. she's giving options. πŸ’…


🌸 DESCRIPTION 🌸

Generate random graphs. that's the whole job. that's what she does. and she does it well. πŸ’œ

here's the vibe check on the arguments:

  • n β€” the number of vertices
  • n1,n2 β€” the number of vertices, but for a bipartite graph
  • num β€” the number of graphs
  • outfile β€” where the graphs go
heads up bestie: a bipartite variant is only available if specified below. so don't just assume. read the flags. i know. i know. πŸ™ˆ

and here's the format squad:

  • -s β€” write in sparse6 format. this is the default, she's the main character ✨
  • -g β€” write in graph6 format
  • -z β€” make random digraphs and write in digraph6 format

πŸŽ€ OPTIONS πŸŽ€

okay this is the part you're actually here for. every single one. no skips. periodt.

  • -P#/# β€” give the edge probability. and if you only pass -P#? that means -P1/#. Bipartite version available. πŸ’–
  • -e# β€” give the number of edges. Bipartite version available. πŸ’–
  • -r# β€” make a regular graph of the specified degree
  • -d# β€” make a regular graph of the specified degree, but pseudorandom
    • with -z, you get a #-in #-out digraph with no loops
    • bipartite version: this is the degree on the first side
  • -M# β€” in conjunction with -d, make the distribution more uniform by running a Markov chain for #*n steps, starting at the pseudorandom graph
  • -R# β€” make a regular graph of the specified degree, but output it as: vertex count, then edge count, then the list of edges
  • -l# β€” maximum loop multiplicity (default 0)
  • -m# β€” maximum multiplicity of a non-loop edge (default and minimum 1)
  • -t β€” make a random spanning tree of a complete graph, or of a complete bipartite graph 🌳
  • -T β€” make a random tournament (this implies -z)
  • -a β€” make it invariant under a random permutation
  • -S# β€” specify the random generator seed (default is nondeterministic, i.e. chaos, i.e. slay)
  • -G# β€” accept with probability min(1,|Aut(G)|/#). the output will then approximate unlabelled graphs β€” accuracy goes πŸ“ˆ and efficiency goes πŸ“‰ as # increases
  • -q β€” suppress auxiliary output 🀫

reminder bestie: -l# defaults to 0 and -m# has a default of 1 and 1 is also the minimum. don't come for me, that's just what the page says. 🫢

🌈 SEE ALSO 🌈

there's nothing else listed here, and honestly? she doesn't need anyone else. she's self-sufficient. icon behavior. πŸ‘‘


written by the genrang 2.9.3 girlies, dated September 2026 πŸ’– that's the whole page. you ate. now go generate some graphs fr fr πŸŒΈβœ¨πŸ¦‹

πŸ“¦ where this page comes from
  • fedora 43: nauty 2.9.3-3.fc43 Β· Apache-2.0 AND LicenseRef-Fedora-Public-Domain AND Knuth-CTAN AND GPL-1.0-or-later
  • fedora 44: nauty 2.9.3-4.fc44 Β· Apache-2.0 AND LicenseRef-Fedora-Public-Domain AND Knuth-CTAN AND GPL-1.0-or-later
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms