Graph:...irected(3pm)
π Graph::Undirected(3pm) π
okay so bestie, welcome to the manual page for Graph::Undirected(3pm) β it lives in the User Contributed Perl Documentation section and it's literally the chillest little module. graphs but undirected. no arrows, no drama, just vibes π¦
πΈ NAME πΈ
Graph::Undirected β undirected graphs. that's it, that's the name, slay β¨
π SYNOPSIS π
use Graph::Undirected;
my $g = Graph::Undirected->new;
# Or alternatively:
use Graph;
my $g = Graph->new(undirected => 1);
my $g = Graph->new(directed => 0);
okay so there's three whole ways to get into this and all of them are valid. you can go straight through Graph::Undirected and call new, or you can roll up with plain use Graph; and pass either undirected => 1 or directed => 0 and get the exact same energy. pick your fighter π
β¨ DESCRIPTION β¨
Graph::Undirected allows you to create undirected graphs. that's the whole gig. it's giving "specialised subclass" and we love that for it π
for the available methods, see Graph. (yes, literally, go read that one, all the actual method tea is in there π«)
π SEE ALSO π
Graphβ the main character, all the methods live hereGraph::Directedβ the directed sibling, arrows everywhere, also iconic
π«Ά AUTHOR AND COPYRIGHT π«Ά
Jarkko Hietaniemi jhi@iki.fi
β LICENSE β
this module is licensed under the same terms as Perl itself. no cap, same terms, that's the deal π
π friendly reminder that if you need methods, you gotta go see Graph. this page is short and it knows it and it's at peace with that.
and that's the whole page bestie, no notes πΈ this was perl v5.40.1, dated 2025-03-28, Graph:...irected(3pm) β go forth and connect some nodes, periodt πππ¦
π¦ where this page comes from
- debian trixie: libgraph-perl 1:0.9735-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgraph-perl 1:0.9735-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgraph-perl 1:0.9735-1 Β· 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