I've search google and here, but still can't find a solution for my need. I've download a few plugins and softwares, like UmlGraph, UMLet and Java2Uml, and StarUml and ArgoUml, but it seems I still can't find a way to generate a class diagram from a XML file.
I have a huge model that I must understand it's hierarchy, and I think a good way to reach this would be to dinamically generate a class diagram from the model XML file. Generate from the VO's would be awesome too.
I've read here that StarUml have a reverse engineering feature, but I can't find it inside the software. Anyone knows how to make it?
Gliffy is a free online drawing tool which provides support for drawing UML diagrams. It is one of the most widely used online diagramming application. Features: Allows you to draw a diagram with ease.
UMLet is a free, open-source UML tool with a simple user interface: draw UML diagrams fast, build sequence and activity diagrams from plain text, export diagrams to eps, pdf, jpg, svg, and clipboard, share diagrams using Eclipse, and create new, custom UML elements.
IntelliJ IDEA lets you generate a diagram on a package in your project. Such diagrams always reflect the structure of actual classes and methods in your application.
Right click on Package, Subsystem or Model on the structure tree then select [Auto Create Class Diagram]. The simple Class diagram will be created.
REQ1
) Free plugin
REQ2
) I have a huge model that I must understand it's hierarchy
REQ3
) I just have a sample XML file, populated with data, and I'd like to generate a graphic model from it
REQ4
) graphic model, which I think would be the class diagram
REQ5
) Generate from the VO's would be awesome
I have no idea what does REQ5
mean and I don't know what would actually satisfy the REQ1
, but it does not matter much as recommending any tool is actually Stack Overflow off-topic #4
It looks like you need to divide the problem into
infer XML Schema
from provided XML
data file, by reverse engineering (if you can't obtain the original XSD
definition from the data provider). Some options are listed in Stack Overflow: Any tools to generate an XSD schema from an XML instance document?
visualize a XML Schema
. Serious XSD
editors can visualize the schema somehow. Some options are listed in Stack Overflow: How to visualize an XML schema?
convert XML Schema
into UML class
model and use an UML modeling tool to visualize it. Some options are listed in Stack Overflow: XSD to UML command line tool
The easiest path to solve the REQ2
(which seems to be the core) might be to contact the data provider, make him/her to give you the XSD
schema and use your IDE
's features to navigate, understand it by whatever means it provides
Paper & pencil looks indispensable as well
The answer may look patronizing and abstractly useless, but I'm really not aware of any cannon handling this job painlessly
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With