SHORTG(1)
okay bestie, pull up a chair, because this is shortg π β it lives in section 1 of the manual under User Commands, and honestly? it's giving graph-theory legend. no cap.
β¨ NAME β¨
shortg β the manual page for shortg 2.9.3 π«Ά
π¦ SYNOPSIS π¦
shortg [-qvkdu] [-i# -I#:# -K#] [-fxxx] [-S|-t] [-Tdir] [-Z#] [infile
[outfile]]
π DESCRIPTION π
Remove isomorphs from a file of graphs. that's the whole assignment, and it eats every time π₯
If outfile is omitted, it is taken to be the same as infile. If both infile and outfile are omitted, input will be taken from stdin and written to stdout.
The output file has a header if and only if the input file does. no extra vibes, no missing vibes, exactly matching energy β¨
-sβ force output to sparse6 format π-gβ force output to graph6 format π-zβ force output to digraph6 format. If none of-s,-z,-gare given, the output format is determined by the header or, if there is none, by the format of the first input graph. The output format determines the sorting order too. As an exception, digraphs are always written indigraph6format. π-Sβ use sparse representation internally. Heads up bestie: note that this changes the canonical labelling. Multiple edges are not supported. One loop per vertex is ok. π-tβ use Traces. Note that this changes the canonical labelling. Multiple edges, loops, directed edges are not supported, nor invariants. π-kβ output graphs have the same labelling and format as the inputs. Without-k, output graphs have canonical labelling.-s,-g,-zare ineffective if-kis given. π-vβ write tostderra list of which input graphs correspond to which output graphs. The input and output graphs are both numbered beginning at1. A line like
23 : 30 154 78
means that inputs 30, 154 and 78 were isomorphic, and produced output 23. so like, a little group chat of graphs fr fr π¬
-dβ include in the output only those inputs which are isomorphic to another input. If-kis specified, all such inputs are included in their original labelling. Without-k, only one member of each nontrivial isomorphism class is written, with canonical labelling. π¦-fxxxβ specify a partition of the vertex set.xxxis any string of ASCII characters except nul. This string is considered extended to infinity on the right with the character'z'. The sequence'x^N', wherexis a character andNis a number, is equivalent to writing'x'Ntimes. One character is associated with each vertex, in the order given. The labelling used obeys these rules:- the new order of the vertices is such that the associated characters are in ASCII ascending order
- if two graphs are labelled using the same string
xxx, the output graphs are identical iff there is an associated-character-preserving isomorphism between them.
If a leading - is used, as in -f-xxx, the characters are assigned to the vertices starting at the last vertex, and the new order of the vertices respects decreasing ASCII order. π
-i#β select an invariant (1= twopaths,2= adjtriang(K),3= triples,4= quadruples,5= celltrips,6= cellquads,7= cellquins,8= distances(K),9= indsets(K),10= cliques(K),11= cellcliq(K),12= cellind(K),13= adjacencies,14= cellfano,15= cellfano2,16= refinvar(K)) π-I#:#β select mininvarlevel and maxinvarlevel (default1:1) π―-K#β select invararg (default3) π―-uβ write no output, just report how many graphs it would have output. In this case,outfileis not permitted. π-Tdirβ specify that directory"dir"will be used for temporary disk space by the sort subprocess. The default is usually/tmp. π-Z#β specify memory for sorting (number followed by%,K,M, orG) π§-qβ suppress auxiliary output π€«
okay real talk bestie:-kquietly makes-s,-gand-zdo absolutely nothing, and-umeans you don't get to name anoutfileat all. read the fine print, it's iconic for a reason π
and that's the whole page, you ate that π
this was shortg 2.9.3, from September 2026, section 1 of the manual. go remove some isomorphs, bestie, you've got this π«Άβ¨πΈ
π¦ 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