The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.