NAME

Graph::Drawing::Vertex - A vertex object

SYNOPSIS

The methods in this module are called automatically by the parent and do not need to be called explicitly.

DESCRIPTION

This module represents a vertex object that is used by other Graph::Drawing modules.

ABSTRACT

A vertex object.

PUBLIC METHODS

These methods are all called automatically by the other Graph::Drawing modules, and should not need to be called explicitly.

new %ARGUMENTS
name $STRING

The name to use to identify the vertex. Currently, this must be unique among the rest of the vertices.

This object attribute is set automatically, based on the keys of the data attribute. It should not be set explicitly.

vertex_size $PIXELS

The size of the vertex diameter, in pixels.

x, y, z [$NUMBER]

Set/get accessor to the vertex coordinates.

name [$STRING]

Set/get accessor to the vertex's name attribute.

size [$PIXELS]

Set/get accessor to the vertex's size attribute.

weight

Accessor to return the vertex's weight attribute (that is retrieved with the Graph::Weighted::vertex_weight method).

PRIVATE METHODS

_debug @STUFF

Print the contents of the argument array with a newline appended.

SEE ALSO

Graph::Drawing

Graph::Drawing::Base

Graph::Drawing::Surface

TO DO

Uhh...

AUTHOR

Gene Boggs <gene@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2003 by Gene Boggs

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.