Barrie Slaymaker > XML-Handler-Machine2GraphViz-0.2 > XML::Handler::Machine2GraphViz;

Download:
XML-Handler-Machine2GraphViz-0.2.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

XML::Handler::Machine2GraphViz;

SYNOPSIS ^

    use XML::Filter::Machine2GraphViz;

    my $m = Machine( .... );
    binmode STDOUT;

  ## Short form:

    print machine_2_graphviz( $m )->as_png;
    
  ## Long form:

    my $h = XML::Handler::Machine2GraphViz->new;

    $m->generate_description( $h );

    print $h->graphviz->as_png;

DESCRIPTION ^

A SAX2 processor that turns SAX machine descriptions in to a GraphViz object.

LIMITATIONS ^

Exports 1 functio by default, do

    use XML::Filter::Machine2GraphViz ();

to prevent this.

Does not show the machines yet, GraphViz.pm needs to be upgraded to deal with nested graphs to do this. It does clustering, but not nested graphs at the moment (v1.4).

AUTHOR ^

    Barrie Slaymaker <barries@slaysys.com>

COPYRIGHT ^

    Copyright 2002, Barrie Slaymaker, All Rights Reserved.

You may use this module under the terms of the Artistic, GNU Public, or BSD licenses, your choise.

syntax highlighting: