Graph:...:Scout(3pm)

πŸ“¦
version 0.76 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Graph::Easy::Layout::Scout β€” bestie edition πŸ’–

okay so real talk, this is the Graph::Easy::Layout::Scout page from the User Contributed Perl Documentation, and it's giving "backstage pass to the pathfinding". pull up a chair 🫢


✨ NAME ✨

Graph::Easy::Layout::Scout β€” literally just here to Find paths in a Manhattan-style grid πŸ—ΊοΈβœ¨


🌸 SYNOPSIS 🌸

here's the whole vibe in code, copy it exactly bestie, no cap:

use Graph::Easy;

my $graph = Graph::Easy->new();

my $bonn = Graph::Easy::Node->new(
        name => 'Bonn',
);
my $berlin = Graph::Easy::Node->new(
        name => 'Berlin',
);

$graph->add_edge ($bonn, $berlin);

$graph->layout();

print $graph->as_ascii( );

# prints:

# +------+     +--------+
# | Bonn | --> | Berlin |
# +------+     +--------+

look at Bonn and Berlin just connecting like that 😭 iconic behaviour fr fr.


πŸ’… DESCRIPTION πŸ’…

so "Graph::Easy::Layout::Scout" contains just the actual pathfinding code for Graph::Easy. that's it, that's the whole job. it is not meant to be used directly, so please don't come for it πŸ™ˆ it's the stage crew, not the main character.


πŸŽ€ EXPORT πŸŽ€

Exports nothing. like, zero. nada. the void. πŸ’€

πŸ¦‹ METHODS πŸ¦‹

This package inserts a few methods into "Graph::Easy" and "Graph::Easy::Node" to enable path-finding for graphs. It should not be used directly. that's the rule bestie, i don't make them 🌈


🌟 SEE ALSO 🌟

  • Graph::Easy. β€” go there instead, iykyk πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Copyright (C) 2004 - 2007 by Tels <http://bloodgate.com>.

See the LICENSE file for information.


and that's the whole page, periodt πŸ’œ this was perl v5.36.0, dated 2022-11-20, from the Graph:...:Scout(3pm) page β€” slay, bye bestie πŸŽ€βœ¨πŸŒΈ