Chapter 10. Output

10.1. Loading and Saving
Do Argo and Poseidon save .xmi files?
How do I import an .xmi into Argo and what formats are known to be supported?
How can I print my diagrams?
What does SVG stand for?
How do I save my diagrams as .SVG?
Can I output my entire ZArgo project as an HTML?
10.2. .XMI
I have a model generated by Rational Rose in xmi format and I want input it into Argo UML case tool. Could anyone tell me how I can do that?
When I save in 0.8.1a .xmi files show up in my save directory, are these just as interchangeable as the 0.9.x .xmi files?
How do I import an .xmi into Argo and what formats are known to be supported?
Does Argo UML generate an XMI document?

10.1. Loading and Saving

Do Argo and Poseidon save .xmi files?

Yes. They save the model information in an .xmi-file, the diagram information in a .pgml-file and information about the project in a .Argo file. All of these are then zipped to a .zArgo-file. You can easily extract the .xmi from the .zArgo file using any old generic ZIP application. Give it a try and look into the magic of Argo. Be aware that double clicking will launch a ZIP utility, if one is installed, and NOT Argo.

How do I import an .xmi into Argo and what formats are known to be supported?

Because of the variety of .xmi formats being generated you will encounter problems using other .xmis generated from other applications. ArgoUML's native storage format is another implementation of XMI (Curt Arnold believes that it has been hacked so it can also read the Unisys variant). He recommends that if you are comfortable with XSLT, you can typically transform one variant of UML + XMI to another, plus MetaIntegrations (http://www.metaintegrations.net) makes a version of their Bridge product available to transform between XMI flavors.

How can I print my diagrams?

Select a diagram, then go to File->Export Diagrams. You can generate gif, postscript, eps or .svg format.

What does SVG stand for?

A super cool vector graphics format (like MM Flash) that is totally open and is gaining enormous ground in the graphics world. Find out more at the www.W3C.org.

As well visit Adobe.com for the plugin for NN and IE

How do I save my diagrams as .SVG?

First: select .svg as the file type. Second: type the name of the file as you like with the .svg tag at the end. Example myumldiagram.svg

Argo does not do it automatically. See the to-do list.

Et viola! SVG! Give it a try and zoom around a little...They are not pretty though, so if you know anything about rendering beautiful SVG let us know!

Oh, and by the way, you'll need a browser that can read SVG, the plugin for NN and IE are available at Adobe.com

There are a few browsers that read SVG natively: Amaya, X-Smiles, and a rudimentary version of Mozilla.

See to do list

Be aware: You will not have scroll bars for your SVG unless it is embedded into an HTML! Good luck and let us know what you find!

Can I output my entire ZArgo project as an HTML?

No not yet.

10.2. .XMI

I have a model generated by Rational Rose in xmi format and I want input it into Argo UML case tool. Could anyone tell me how I can do that?

Probably not possible but if you want to take on the task of writing an XSLT that transposes the ROSE .xmi to Argo .xmi you'd make a lot of friends in a hurry!

When I save in 0.8.1a .xmi files show up in my save directory, are these just as interchangeable as the 0.9.x .xmi files?

This depends on the nsuml version you are using (you can find out about this i your startup messages on console). Version 0.4.19 is okay, should be interchangeable.

How do I import an .xmi into Argo and what formats are known to be supported?

Because of the variety of .xmi formats being generated you will encounter problems using other .xmis generated from other applications.

ArgoUML's native storage format is another implementation of XMI (Curt Arnold believes that it has been hacked so it can also read the Unisys variant). He recommends that if you are comfortable with XSLT, you can typically transform one variant of UML + XMI to another, plus MetaIntegrations (http://www.metaintegrations.net) makes a version of their Bridge product available to transform between XMI flavors.

Does Argo UML generate an XMI document?

Yes! Check out the .zArgo file. Open it and Viola! It's tucked inside...

Argo saves all .xmi and .pgml and .Argo files in one zipped .ZArgo file. You can easily extract the .xmi from the .zArgo file using any old generic ZIP application. (PowerArchiver is a cool freeware app for the Win folks). Give it a try and look into the magic of Argo!