Graph:...e::Cell(3pm)

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

✨ Graph::Easy::Node::Cell ✨

okay so bestie, this is the User Contributed Perl Documentation page for Graph:...e::Cell(3pm) β€” yes that's literally the man page name, it's giving truncated-on-purpose πŸ’… β€” and it's a lil cutie of a module, so let's get into it 🫢


🌸 NAME 🌸

Graph::Easy::Node::Cell β€” an empty filler cell. that's it. that's the whole job. she's a placeholder and she's thriving ✨


πŸŽ€ SYNOPSIS πŸŽ€

use Graph::Easy;
use Graph::Easy::Edge;

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

my $node = $graph->add_node('A');

my $path = Graph::Easy::Node::Cell->new(
  graph => $graph, node => $node,
);

...

print $graph->as_ascii();

look at her go 😌 copy it, run it, live your truth.


πŸ¦‹ DESCRIPTION πŸ¦‹

so a Graph::Easy::Node::Cell is what you use to reserve a cell in the grid for nodes that take up more than one cell. like when your main character node is too iconic to fit in one lil square, this is the extra square it squats in πŸ‘‘

fr fr tho β€” you should not need to use this class directly. it's backend business. let the library handle it, bestie, don't be nosy πŸ™ˆ

πŸ’– METHODS πŸ’–

error()

$last_error = $cell->error();

$cvt->error($error);                    # set new messages
$cvt->error('');                        # clear error

this one returns the last error message</>, or '' when there's no error at all. no drama, empty string, she's fine 🌈

node()

my $node = $cell->node();

returns the node this filler cell belongs to 🫢 like, whose square is this? that one. mystery solved.


πŸ‘€ SEE ALSO πŸ‘€

  • Graph::Easy.

go read that one too, iykyk πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

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

See the LICENSE file for more details.


and that's the whole page, periodt πŸ’…

this lil gem shipped with perl v5.36.0 and was dated 2022-11-20, so when you cite her, cite her right πŸŽ€ bye bestie, go reserve some cells βœ¨πŸ¦‹πŸ’–