Graph:...nected(3pm)
π Graph::Maker::Disconnected π
okay bestie, so this is Graph::Maker::Disconnected from the 3pm manual pages β and yes, it's exactly what it sounds like: a maker that makes you a graph with zero edges. That's the whole personality. It's giving "I'm here, I exist, but I'm not connecting with anybody" energy and honestly? relatable. β¨
π VERSION π
Version 0.01
π¦ SYNOPSIS π¦
So basically it creates a disconnected graph with however many nodes you ask for. And a disconnected graph is, by definition, N nodes and no edges. That's it, that's the vibe. No cap.
use strict;
use warnings;
use Graph;
use Graph::Maker;
use Graph::Maker::Disconnected;
my $g = new Graph::Maker('disconnected', N => 4, undirected => 1);
# work with the graph
π FUNCTIONS π
π new %params
Creates a disconnected graph with N nodes. Slay.
The parameters it actually recognizes are:
graph_makerN
...and literally any other params you throw at it get passed straight on over to Graph's constructor, no questions asked. π«Ά
A couple of important deets:
- If
Nisn't given, it defaults to0. (Yes, a graph with zero nodes. It's minimalism, bestie, it's a statement.) - If
graph_makeris specified, that thing gets called to create theGraphclass however you want it β like if you've got a subclass ofGraphand you're feeling fancy. By default it just creates aGraphwith the parameters you specified.
π AUTHOR π
Matt Spear, "<batman900+cpan at gmail.com>" β give him his flowers π
π BUGS π
None at the moment... (iconic behaviour, honestly, not a single one to report π)
But if you do find something, please report any bugs or feature requests to "bug-graph-maker-disconnected at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Graph-Maker>.
Here's the deal though: I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. So it's a whole mutual-notification situationship. π
πΈ 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. (So, like, free free. Go off. π§)
reminder bestie: N with no edges means no edges. If you wanted edges you're in the wrong manpage, iykyk. π
okay that's the whole page, and just so you have the receipts: this is from perl v5.32.1, dated 2021-08-27, and it's Graph:...nected(3pm) β she's been around a minute and she's still thriving. periodt. πβ¨ππ¦
π¦ 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