Graph:...::Cycle(3pm)
π« NAME π«
Graph::Maker::Cycle β bestie, it literally makes a graph that is one big cycle. That's it. That's the whole vibe. π
π VERSION π
Version 0.01 β baby's first release, and she's serving. π
β¨ SYNOPSIS β¨
okay so picture this: you get a cyclic graph with however many nodes you want. A cyclic graph is basically a linear graph where the last node loops back and connects to the first one β like a friendship bracelet that closes up. π«Ά
And listen β if the graph is directed, then edges get added in both directions, which creates an undirected graph. yes it's giving chaotic but that's what it does. π
use strict;
use warnings;
use Graph;
use Graph::Maker;
use Graph::Maker::Cycle;
my $g = new Graph::Maker('cycle', N => 4, undirected => 1);
# work with the graph
π¦ FUNCTIONS π¦
π new %params
Makes you a cyclic graph with N nodes, periodt. πΈ
The parameters she recognizes are:
Nβ how many nodes you want, queen. If you don't hand it over, it just defaults to0. no drama. β¨graph_makerβ if you pass this in, it gets called to create the Graph class however you like (say, if you've got a subclass of Graph and you're feeling fancy π). If you don't pass it, it just defaults to creating aGraphwith the parameters you specified. π- Any other params? They get passed straight onto Graph's constructor. iykyk. π
π AUTHOR π
Matt Spear, "<batman900+cpan at gmail.com>" β go say hi, he made this. π«Ά
π BUGS π
None at the moment... iconic behaviour, honestly. β¨
But fr fr, please report any bugs or feature requests to "bug-graph-maker-cycle at rt.cpan.org", or through the web interface at:
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Graph-Maker>
I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. the way that's actually a whole closed feedback loop... obsessed. π
πΈ COPYRIGHT & LICENSE πΈ
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. slay. π
and that's the whole page bestie π perlv5.32.1, dated2021-08-27βGraph:...::Cycle(3pm), signing off, mwah π
π¦ where this page comes from
- debian bookworm: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR 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