|Re: Read sequence diagram by its Xmi [message #1746615 is a reply to message #1746584]
||Tue, 01 November 2016 19:43
|| Christian W. Damus
Registered: July 2009
You will have to be more specific about what you are trying to do.
By "read the sequence diagram XMI file" do you mean to read it not using the Eclipse UML2 and Eclipse GMF Notation model APIs? I would strongly recommend using these APIs; anything else will result in tearing your hair out.
Are you trying to read the semantics of the UML Interaction that is pictured in a sequence diagram, or are you trying to analyze the diagram, itself (the visualization of the interaction as a sequence diagram)? In the latter case, you should know that RSA sequence diagrams are "canonical" and often omit much if not most of the actual layout information, including even which lifelines, messages, and various interaction fragments are shown in the diagram. It can be extremely difficult to reconstruct the visual content of the diagram outside of the RSA environment, and I cannot begin to help with that.
Also worth noting is that RSA uses a very old version of the Eclipse UML2 API, one that implements OMG UML 2.2. UML is up to version 2.5 by now and has changed considerably. The current Eclipse UML2 API can read and convert the contents of an RSA model, but the results may sometimes have a few surprises. See the migration guides from release to release on the UML2 pages in the Eclipse Wiki.
Powered by FUDForum
. Page generated in 0.02543 seconds