xmi2svg software converts UML diagrams to SVG through an XSLT-based tool.
In my own experience, xmi2svg proved to be an invaluable asset for a recent project of mine. One of the most impressive features of the software is the XSLT stylesheet. This allows users to quickly and easily create their own custom stylesheets and diagrams for the project, which can be shared with others under the terms of the MIT license.
The software works by taking XMI documents that contain diagram information, which conform to the UML 2.0 Diagram Interchange Standard. It's worth noting that these documents are easy to produce with tools like Poseidon. The default file format for Poseidon is a ZIP archive, which includes an XMI file.
To use xmi2svg, users will need an XSLT processor, such as Xalan-J. Using Xalan, it's possible to convert diagrams by running a single command line. For example, executing "java org.apache.xalan.xslt.Process -in document.xmi -xsl xmi2svg.xsl -out diagram.svg -param diagramName Classes" would convert the "Classes" diagram contained in the "document.xmi" file to a scalable vector graphic (SVG).
One of the greatest strengths of xmi2svg is its versatility. The software currently supports class, use case, activity, and state diagrams, with future versions expected to expand to include other diagram types. For those looking for an alternative, the uml2svg project is worth considering. Although it still has some conversion bugs, it is capable of working with all diagram types.
In conclusion, xmi2svg is an exceptional software tool that delivers impressive results. Whether you're converting UML diagrams for a new project or simply looking to streamline your workflow, this software is well worth considering. It's versatile, easy to use, and delivers precise and scalable vector graphics that are sure to impress.
Version 0.2: N/A