Graph::Directed(3pm)

πŸ’œ Graph::Directed β€” the manual page, but make it make sense

okay so bestie, you're reading Graph::Directed(3pm) from the User Contributed Perl Documentation, and honestly? it's giving directed graphs and nothing else. Let's go. πŸŽ€


✨ NAME ✨

Graph::Directed β€” directed graphs πŸ¦‹

like. that's it. that's the name. it does directed graphs. periodt.


🌸 SYNOPSIS 🌸

use Graph::Directed;
my $g = Graph::Directed->new;

# Or alternatively:

use Graph;
my $g = Graph->new(directed => 1);
my $g = Graph->new(undirected => 0);

okay so there are literally three ways to get yourself a directed graph and they all slay:

  1. use Graph::Directed; then Graph::Directed->new β€” the main character route πŸ‘‘
  2. use Graph; then Graph->new(directed => 1) β€” the "I'm being explicit about it" route πŸ’…
  3. use Graph; then Graph->new(undirected => 0) β€” the "I said what I said" route πŸ™ˆ

all three, same vibe, directed graph acquired. no cap. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Graph::Directed allows you to create directed graphs. that's the whole tea. πŸ“

and for the actual methods β€” all the stuff you'd wanna do with said graph β€” go look at Graph. that's where the menu lives, bestie.

lowkey the entire description is two sentences and honestly? respect. it knows what it is. πŸ’–

🌈 SEE ALSO 🌈

  • Graph β€” the parent situation, where all the methods hang out
  • Graph::Undirected β€” the same energy but the edges go both ways 🧚

Jarkko Hietaniemi jhi@iki.fi

that's the icon who made this. show some respect. πŸ’œ


πŸ’… LICENSE πŸ’…

This module is licensed under the same terms as Perl itself.

translation: same rules as Perl, go check Perl's license, it's all very standard and very legal and very much not my problem to summarize further. ✨


and that's the whole page, bestie!! 🫢 this copy came from perl v5.40.1 dated 2025-03-28, and it was filed under Graph::Directed(3pm) in the User Contributed Perl Documentation section β€” so if you ever need to cite it for a vibe check, that's your receipt. now go build a directed graph, you absolute legend. 🌟

πŸ“¦ where this page comes from