Graph::Easy::Node::Cell(3pm)

Graph::Easy::Node::Cell3pm

An empty filler cell

Usage

        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();

Overview

A "Graph::Easy::Node::Cell" is used to reserve a cell in the grid for nodes that occupy more than one cell.

You should not need to use this class directly.

Methods

error()

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

Returns the last error message, or '' for no error.

node()

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

Returns the node this filler cell belongs to.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–11
  5. 12–13

Author

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

See the LICENSE file for more details.

From libgraph-easy-perl 0.76-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.