GENRANG(1)
π 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 verticesn1,n2β the number of vertices, but for a bipartite graphnumβ the number of graphsoutfileβ 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 insparse6format. this is the default, she's the main character β¨-gβ write ingraph6format-zβ make random digraphs and write indigraph6format
π 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
- with
-M#β in conjunction with-d, make the distribution more uniform by running a Markov chain for#*nsteps, 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 (default0)-m#β maximum multiplicity of a non-loop edge (default and minimum1)-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 probabilitymin(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 to0and-m#has a default of1and1is 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