LGF-GEN(1)

πŸ“¦
version 1.3.1 Β· 2 versions
, in fedora 43

🌸 LGF-GEN(1) 🌸

okay bestie, welcome to lgf-gen β€” it's a User Command, it lives in section 1 of the manual, and this page is literally the manual page for lgf-gen 1.3.1. she's a graph generator and she's iconic for it πŸ’…


✨ NAME ✨

lgf-gen β€” manual page for lgf-gen 1.3.1


πŸ¦‹ DESCRIPTION πŸ¦‹

πŸ’– Usage: πŸ’–

so this is the whole vibe, fr fr β€” here's how you call her:

/builddir/build/BUILD/coin-or-lemon-1.3.1-build/BUILDROOT/usr/bin/lgf-gen

[-2con|-tree|-tsp|-tsp2|-dela] [-disc|-square|-gauss]
[-rand|-seed int] [--help|-h|-help] [-area num] [-cities int]
[-dir] [-eps] [-g int] [-n int] [-nonodes] [prefix]

like, look at that path. she's not hiding. that's the binary, periodt. 🌈

πŸŽ€ Where: πŸŽ€

  • [prefix] β€” the prefix of the output files, bestie. the default is lgf-gen-out (so if you don't say anything, that's the name you're getting, no cap).

πŸ‘‘ OPTIONS πŸ‘‘

okay here's the full menu, no skips, every single one, we don't gatekeep in this house 🫢

  • --help, -h, -help β€” prints a short help message. it's giving "hi, here's the tea, briefly" ✨
  • -2con β€” creates a two connected planar graph. two-connected! planar! slay.
  • -area num β€” the full relative area of the cities. default is 1.
  • -cities int β€” number of cities. default is 1. yes, one city. a lil baby city. πŸ™οΈ
  • -dela β€” Delaunay triangulation graph. triangulation nation, we love to see it.
  • -dir β€” a directed graph is generated, meaning each edge gets replaced by two directed arcs. both directions, main character energy.
  • -disc β€” nodes are evenly distributed on a unit disc. this is the default, so if you don't pick anything, you're on the disc, girlie πŸ’Ώ
  • -eps β€” also generates .eps output, specifically <prefix>.eps. cute lil bonus file.
  • -g int β€” the girth parameter. default is 10.
  • -gauss β€” nodes are located according to a two-dim Gauss distribution. bell curve baddie behavior πŸ“ˆ
  • -n int β€” number of nodes. default is 100. a whole hundred of them.
  • -nonodes β€” draws only the edges in the generated .eps output. no nodes, just edges, minimalism era.
  • -rand β€” use a time seed for the random number generator. chaos, but make it chronological.
  • -seed int β€” random seed. for when you want your chaos reproducible, iykyk.
  • -square β€” nodes are evenly distributed on a unit square. a square. not a disc. don't get it twisted ⬜
  • -tree β€” creates a min. cost spanning tree. minimum cost, maximum vibes.
  • -tsp β€” creates a TSP tour. traveling salesperson said let's goooo πŸš—
  • -tsp2 β€” creates a TSP tour, but tree based. the sequel. the remix. the tree-based one. 🌳

not me listing every single flag and every single default because we do NOT gatekeep the documentation πŸ’– fr fr, all defaults are in there, all the ints and nums and prefixes are exactly as written.

so yeah, that's the whole page. lgf-gen, version 1.3.1, and this beauty was published July 2025. go generate some graphs, bestie, you're gonna eat πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from