Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
DRAWSTATEXML(1) User Contributed Perl Documentation DRAWSTATEXML(1) - turns a simple xml description into a state diagram diagram.xml > diagram.svg
    java -jar batik-rasterizer.jar diagram.svg

The xml format is described by the (unenforced) dtd in the samples directory included with the distribution. The advantage of the xml format is that it lets you name the states and specify edges in terms of the names. The samples directory also includes examples in the files ending in xml. See the samples/README.

If you don't like xml, feel free to use the text format supported by You could also use UML::State directly to support a format of your choice.


The state.dtd description is not enforced. This can lead to hard to diagnose errors in the input file.

All edges using the same label must be in the same transition_set tag. If a transition_set tag repeats a label used by an earlier transition_set tag, it overwrites that transition_set. (Think of the labels as hash keys, I do.)

The bugs in UML::State apply here as well, since this script uses it to make the pictures. See perldoc UML::State for those bugs.

Phil Crow <<gt>

Copyright 2003 by Phil Crow. All rights reserved. This is free software. You may modify and/or redistribute it under the same terms as Perl 5.8.0.
2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.