Graph:...::Empty(3pm)

πŸ’– Graph::Maker::Empty β€” the perl manual page, bestie edition πŸ’–

okay so you found the docs for Graph::...::Empty(3pm) and honestly? iconic. it's a Perl thing, it lives in the User Contributed Perl Documentation corner of the universe, and it does exactly one (1) job and does it flawlessly. let's get into it 🫢


✨ NAME ✨

Graph::Maker::Empty β€” creates an graph with no nodes or edges πŸŽ€

(no bc same, sometimes the empty graph is the whole point. periodt.)


🌸 VERSION 🌸

Version 0.01 ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

so basically: it creates a graph with no nodes or edges. that's it. that's the tea πŸ’…

use strict;
use warnings;
use Graph;
use Graph::Maker;
use Graph::Maker::Empty;

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

like, you make the graph, and then... you work with the graph. the graph being empty. it's giving minimalist queen energy πŸ‘‘


πŸŽ€ FUNCTIONS πŸŽ€

new %params

creates a graph with no nodes or edges, bestie. that's the vibe. 🌈

the only recognized parameter is graph_maker β€” every other parameter gets passed straight onto Graph's constructor. no notes, it just forwards them like a good little middleman 🧚

and if you do specify graph_maker, it'll get called to create the Graph class however you want (say, if you've got a subclass of Graph and you're feeling fancy πŸ’…). if you don't specify it, the default is just to create a Graph with the parameters you gave. defaults stay defaulting, yk? ✨


πŸ’œ AUTHOR πŸ’œ

Matt Spear, "<batman900+cpan at gmail.com>" 🫢


πŸ’€ BUGS πŸ’€

None at the moment... not a single one. flawless. untouched. slay. ✨

but fr fr, if you do find something, please report any bugs or feature requests to "bug-graph-maker-empty at rt.cpan.org", or through the web interface at:

http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Graph-Maker

and here's the deal: he'll be notified, and then you'll automatically be notified of progress on your bug as he makes changes. mutual update pipeline, we love to see it πŸ˜­πŸ’–


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, legally speaking, do your thing ✨)


and that's the whole page, bestie!! πŸ¦‹ this doc came from perl v5.32.1, dated 2021-08-27, and it's filed under that Graph:...::Empty(3pm) header. go forth and make your empty little graph. it has no nodes. it has no edges. it has everything. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from