A less elegent approach, but useful for some, would be to generate a
diagram in Visio. I implemented a .NET XmlWriter / XmlReader pair
writing and reading UML state charts (well, a subset anyway). You can
download the code [1] from Wrox - it's chapter 9 in "Professional XML
for .NET Developers"
Francis.
[1] http://www.wrox.com/dynamic/books/download.aspx?isbn=1861005318
--
"Never mind manoeuvre, go straight at 'em." - Admiral Horatio Nelson
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list