NAME
GraphViz::Traverse - Build a GraphViz object via callback traversal
SYNOPSIS
# Base class for GraphViz traversal modules.
DESCRIPTION
A GraphViz::Traverse
object represents a base class for inheriting by other traversal modules.
PUBLIC METHODS
new
my $g = GraphViz::Traverse->new($arguments);
Return a new GraphViz::Traverse instance.
mark_item
$g->mark_item( $node );
$g->mark_item( $child, $parent );
Add a node or an edge to the GraphViz::Traverse
object. This method is to be used by the traverse
method.
traverse
$g->traverse($root);
Traverse a structure starting at a given root node. This method is to be overridden by an inheriting class with specific traversal actions.
TO DO
Document this code better.
THANK YOU
Brad Choate <bchoate@cpan.org> for untangling my AUTOLOADing.
SEE ALSO
GraphViz::Traverse::Filesystem
COPYRIGHT
Copyright 2006, Gene Boggs, All Rights Reserved
You may use this module under the license terms of the parent GraphViz package.
AUTHOR
Gene Boggs <gene@cpan.org>