The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache::CVS::Graph - class that implements a graph that details the revision history of an Apache::CVS::File

SYNOPSIS

 use Apache::CVS::File();
 use Apache::CVS::Graph();
 use Graph::Directed();
 
 $file = Apache::CVS::File->new($path, $rcs_config);
 $cvs_graph = Apache::CVS::Graph->new($file);
 $graph = $cvs_graph->graph();
 @vertices = $graph->vertices();

DESCRIPTION

The Apache::CVS::Graph class implements a directed acyclick graph that details the revision history of an Apache::CVS::File.

Apache::CVS::Graph->new($file)

Construct a new Apache::CVS::Graph object. Takes an Apache::CVS::File as an argument.

$cvs_graph->file()

Set or get the Apache::CVS::File associated with this graph.

$cvs_graph->graph()

Returns a Graph::Directed object.

$cvs_graph->root_node()

Get the root node for this graph. There are instances where $G->source_vertices() does not return something useful.

$cvs_graph->labels()

Get or set the labels for this graph.

SEE ALSO

Apache::CVS, Apache::CVS::File, Graph::Directed, Graph::Base, Rcs

AUTHOR

John Barbee <barbee@veribox.net>

COPYRIGHT

Copyright 2001-2002 John Barbee

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