Graph:...mplete(3pm)

πŸ’– Graph::Maker::Complete πŸ’–

okay bestie, gather round β€” this is the Perl manual page for Graph::Maker::Complete, living in the User Contributed Perl Documentation section (that's the (3pm) vibe, iykyk). ✨


🌸 NAME 🌸

Graph::Maker::Complete β€” creates complete (fully-connected) graphs πŸ’…


πŸŽ€ VERSION πŸŽ€

Version 0.01 β€” baby's first release, and she's iconic for it 🫢


✨ SYNOPSIS ✨

So basically? It creates the complete graph with however many nodes you want. And a complete graph is exactly what it sounds like β€” there are edges between every single pair of nodes. No node left behind, no cap. πŸ”₯

Now here's the tea β˜•: if the graph is directed, then edges get added in both directions, which makes it an undirected graph. Yes literally both ways. She contains multitudes. πŸ’«

use strict;
use warnings;
use Graph;
use Graph::Maker;
use Graph::Maker::Complete;

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

πŸ’… FUNCTIONS πŸ’…

new %params

Creates the complete graph with the number of nodes you asked for (N). πŸ‘‘

The recognized parameters are N, and graph_maker β€” and any others get passed straight onto Graph's constructor, no questions asked. 🫑

  • If N isn't given, it defaults to 0. (Empty graph era, we respect it πŸ™ˆ)
  • If graph_maker is specified, it will be called to create the Graph class however you want it β€” like if you've got a subclass of Graph, bestie, go off. If you don't specify it, the default is to create a Graph with the parameters you specified. Simple as. ✨

πŸ‘‘ AUTHOR πŸ‘‘

Matt Spear, <batman900+cpan at gmail.com> πŸ¦‹


πŸ’€ BUGS πŸ’€

None at the moment... (a flawless queen, we love to see it) ✨

But fr fr, if you do find something, please report any bugs or feature requests to bug-graph-maker-complete at rt.cpan.org, or slide 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. Group chat updates, basically. πŸ’Œ


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. πŸŽ€


no gatekeeping here β€” it's free software, share the love 🫢

and that's the whole page bestie!! this one shipped as perl v5.32.1, dated 2021-08-27, from the Graph:...mplete(3pm) corner of the manual universe. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from