GEN_AT_GRAPH(1)
π gen_at_graph(1) π
okay so bestie, welcome to the little Perl script that literally just births random graphs out of thin air β¨ it lives in the User Contributed Perl Documentation corner of your system, and yes, it's giving chaotic academic energy in the best way possible π
πΈ NAME πΈ
gen_at_graph β the icon, the moment, the girlboss that generates a random graph for use in algotutor π
β¨ SYNOPSIS β¨
gen_at_graph [OPTION] ...
that's it. that's the whole vibe. options, plural, bestie β bring as many as you want π
π¦ DESCRIPTION π¦
So like, gen_at_graph generates a random graph for use in algotutor. π«Ά
Now, currently the only type of graph it can generate is a rectangular grid of vertices. That's the whole menu, okay, no cap. But here's the slay part: each vertex is connected to at most 8 adjacent vertices around it β so every single node is lowkey surrounded by its little grid besties (up to eight of them, thinking about it in every direction) π
π OPTIONS π
-rROWS β generate ROWS rows of vertices. how many rows we doing, bestie? you decide πΈ-cCOLS β generate COLS columns of vertices. the vertical girlies to go with your horizontal ones π-wWIDTH β make each grid cell WIDTH pixel wide. width moment β¨-hHEIGHT β make each grid cell HEIGHT pixel high. and the height to match, because we do not do squished cells in this house π-lLOWER β make all random numbers greater than or equal to LOWER. that's your inclusive floor, she's generous π«Ά-uUPPER β make all random numbers less than (but never equal to) UPPER. your exclusive ceiling β and not me stressing that it's never equal to it, because fr fr it is never, ever equal to it π-dPATTERN β specify the probability of generating each diagonal. the diagonal drama dial, as I like to call it π¦
π LICENSE π
This code is distributed under the GNU General Public License π periodt.
π AUTHOR π
Chao-Kuei Hung β ckhung AT cyut DOT edu DOT tw π (yes the AT and DOT are doing the heavy lifting there, that's just how it's written, don't come for me)
π SEE ALSO π
Please see /usr/share/doc/algotutor/doc/ for the full set of documentations. π like, the whole set. go look. iykyk π§
and that's the tea, bestie π this page came to you via perl v5.34.0, dated 2022-04-12 β so it's got a lil vintage thing going on and honestly? iconic. now go generate some graphs, you main character πβ¨π
π¦ where this page comes from
- debian bookworm: algotutor 0.8.6-6
- debian trixie: algotutor 0.8.6-6
- ubuntu noble: algotutor 0.8.6-6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms