Graph:...::Cell(3pm)
π Graph::Easy::Group::Cell β the perl doc you didn't know you needed π
okay so, bestie, this is Graph::Easy::Group::Cell β a whole Perl manual page from the User Contributed Perl Documentation collection. Yes it's giving "why am I reading this", but we're here now and we're gonna slay it. π
β¨ NAME β¨
Graph::Easy::Group::Cell β literally just a cell in a group. That's the whole vibe. π
πΈ SYNOPSIS πΈ
Look at this little code moment, no cap:
use Graph::Easy;
my $ssl = Graph::Easy::Edge->new( );
$ssl->set_attributes(
label => 'encrypted connection',
style => '-->',
color => 'red',
);
$graph = Graph::Easy->new();
$graph->add_edge('source', 'destination', $ssl);
print $graph->as_ascii();
It's giving graph energy. Add an edge, give it a red --> style, print it as ascii. Iconic behavior honestly. π¦
π DESCRIPTION π
A Graph::Easy::Group::Cell represents a cell of a group. Periodt.
Group cells can have a background and, if they are on the outside, a border. The way that outside cells get borders is lowkey the whole personality of this thing. β¨
π«Ά bestie heads up: there should be no need to use this package directly. It's an internal little guy. Not the main character, just supporting cast. π
π METHODS π
error()
$last_error = $group->error();
$group->error($error); # set new messages
$group->error(''); # clear error
Returns the last error message, or '' for no error. So if you get an empty string back, that's the good ending. π
as_ascii()
my $ascii = $cell->as_ascii();
Returns the cell as a little ascii representation. Tiny. Adorable. Iconic. π₯Ί
as_html()
my $html = $cell->as_html($tag,$id);
Returns the cell as HTML code. Give it a $tag and an $id and it'll do its thing. β¨
label()
my $label = $cell->label();
Returns the name (also known as the 'label') of the cell. Same thing, two names, it's giving nickname energy. π
class()
my $class = $cell->class();
Returns the classname(s) of this cell, like:
group_cities gr gb
for a cell with a bottom (gb) and right (gr) border in the class "cities". So gr = right, gb = bottom, group_cities = the class. iykyk. π
π¦ EXPORT π¦
None. That's it. Nothing gets exported. The audacity? Honestly refreshing. π
π SEE ALSO π
Graph::Easy
π AUTHOR π
Copyright (C) 2004 - 2007 by Tels <http://bloodgate.com>.
See the LICENSE file for more details. π
and that's the whole page, bestie β you ate that π β¨
this masterpiece was served up by perl v5.36.0, dated 2022-11-20, and it's a Graph:...::Cell(3pm) situation π«Ά bye bb, go build a graph πΈ
π¦ where this page comes from
- debian bookworm: libgraph-easy-perl 0.76-3 Β· GPL-2.0-or-later
- debian trixie: libgraph-easy-perl 0.76-3 Β· GPL-2.0-or-later
- ubuntu noble: libgraph-easy-perl 0.76-3 Β· GPL-2.0-or-later
- ubuntu resolute: libgraph-easy-perl 0.76-3 Β· GPL-2.0-or-later
- ubuntu stonking: libgraph-easy-perl 0.76-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms