Graph:...Ladder(3pm)

πŸ’– Graph::Maker::CircularLadder πŸ’–

okay bestie, gather round, because today we're building a circular ladder and it's literally the cutest little graph you've ever seen πŸͺœβœ¨

✨ VERSION ✨

Version 0.01 β€” baby's first release, and she ate πŸ’…

🌸 SYNOPSIS 🌸

So what she does: she creates the circular ladder with however many rungs you ask for. And what even is a circular ladder, you ask? Bestie, it's a ladder graph except the first rung and the last rung are neighbors. Like, they hold hands. They're connected. It's giving friendship bracelet energy πŸ”—πŸ«Ά

use strict;
use warnings;
use Graph;
use Graph::Maker;
use Graph::Maker::CircularLadder;

my $g = new Graph::Maker('circular_ladder', rungs => 4, undirected => 1);
# work with the graph

no cap, that's the whole vibe right there πŸŽ€


πŸ¦‹ FUNCTIONS πŸ¦‹

πŸ’œ new %params

Creates a circular ladder graph with the number of rungs you specify. Here's the tea on which params she actually recognizes:

  • rungs β€” how many rungs you want, bestie πŸͺœ
  • graph_maker β€” the custom maker situation

Anything else you toss in? She just passes it straight along to Graph's constructor, no questions asked πŸ™ˆ

Oh, and heads up: if you don't give her rungs at all, she assumes it's 0. Zero. Zilch. Not a single rung. The audacity, honestly 😭

And if you do specify graph_maker, she'll call it to create the Graph class however you want β€” super handy if you've got, like, a subclass of Graph that's your little main character πŸ‘‘ β€” otherwise she defaults to creating a Graph with the parameters you specified. Simple as. ✨


🌈 AUTHOR 🌈

Matt Spear, "<batman900+cpan at gmail.com>" β€” shoutout to the legend who made this whole thing happen πŸ«‘πŸ’–

πŸ’€ BUGS πŸ’€

None at the moment... and we love that for her, periodt πŸŽ‰

But fr fr, if you do find something, please report any bugs or feature requests to "bug-graph-maker-circularladder at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Graph-Maker>. The way that works is: he'll be notified, and then you'll automatically be notified of progress on your bug as he makes changes. So you're both in the loop, bestie πŸ””πŸ«Ά

ngl if you find a bug, go tell him. Don't just sit there suffering in silence πŸ’…

Copyright 2008 Matt Spear, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. iconic behavior, we stan open source 🌸


and that's the whole page, bestie!! πŸ’– this one's from the perl v5.32.1 era, dated 2021-08-27, and it's the Graph::Maker::CircularLadder manual, written by User Contributed Perl Documentation β€” mwah, slay, go build some ladders πŸͺœβœ¨πŸ‘‘

πŸ“¦ where this page comes from