1Graph::Easy::Node::CellU(s3e)r Contributed Perl DocumentaGtriaopnh::Easy::Node::Cell(3)
2
3
4
6 Graph::Easy::Node::Cell - An empty filler cell
7
9 use Graph::Easy;
10 use Graph::Easy::Edge;
11
12 my $graph = Graph::Easy->new();
13
14 my $node = $graph->add_node('A');
15
16 my $path = Graph::Easy::Node::Cell->new(
17 graph => $graph, node => $node,
18 );
19
20 ...
21
22 print $graph->as_ascii();
23
25 A "Graph::Easy::Node::Cell" is used to reserve a cell in the grid for
26 nodes that occupy more than one cell.
27
28 You should not need to use this class directly.
29
31 error()
32 $last_error = $cell->error();
33
34 $cvt->error($error); # set new messages
35 $cvt->error(''); # clear error
36
37 Returns the last error message, or '' for no error.
38
39 node()
40 my $node = $cell->node();
41
42 Returns the node this filler cell belongs to.
43
45 Graph::Easy.
46
48 Copyright (C) 2004 - 2005 by Tels <http://bloodgate.com>.
49
50 See the LICENSE file for more details.
51
52
53
54perl v5.32.1 2021-01-27 Graph::Easy::Node::Cell(3)