NAME

Graph::Drawing::Random - Concentric ring constrained, random angle, polar coordinate system graph drawing.

SYNOPSIS

use Graph::Drawing::Random;

my $g = Graph::Drawing::Random->new(
#    debug => 1,
    type         => 'GD',
    format       => 'png',
    surface_name => 'foo',
#    surface_size => 300,  # Can be undefined in the new() call.
#    grade        => 20,
    vertex_size  => 6,
    data => {
        john   => { paul => 30, },
        paul   => { john => 30, george => 20, ringo => 10, },
        george => { john => 10, paul   => 10, ringo => 10, },
        ringo  => {},
    }
);

$g->surface->write_image;

DESCRIPTION

Compute and return the concentric ring constrained, random angle polar coordinate of a Graph::Drawing::Vertex object.

Please see the Graph::Drawing::Base documentation for a description of the available common methods and their arguments.

ABSTRACT

Concentric ring constrained, random angle, polar coordinate system graph drawing.

PUBLIC METHODS

None.

PRIVATE METHODS

get_coordinate

Return the vertex coordinate.

This method is used automatically for the vertex plotting that is done in the parent module.

This method takes a Graph::Drawing::Vertex object as an argument.

SEE ALSO

Graph::Drawing

Graph::Drawing::Base

Graph::Drawing::Vertex

Graph::Drawing::Surface

TO DO

Make this module more flexible to justify such a generic namespace.

If you would like to contribute to this project, please contact me and I will rejoice.

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.