Apache::CVS::Graph - class that implements a graph that details the revision


Apache-CVS documentation  | view source Contained in the Apache-CVS distribution.

Index


NAME

Top

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

SYNOPSIS

Top

 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

Top

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

Top

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

AUTHOR

Top

John Barbee <barbee@veribox.net>

COPYRIGHT

Top


Apache-CVS documentation  | view source Contained in the Apache-CVS distribution.