See the samples directory and the drawstate.pl script for details on how to format input and what to expect for output. WWW: http://search.cpan.org/dist/UML-State/