Book a Demo

Author Topic: Connectors in Sequence diagram not exp. in XMI  (Read 4979 times)

jrueting

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Connectors in Sequence diagram not exp. in XMI
« on: June 07, 2010, 07:12:23 pm »
I am trying to share sequence diagrams within a team using the package export/import via XMI format. Unfortunately, the sequence diagrams available after the import do only contain the elements, but no connectors (e.g. messages). Anyone an idea how to share sequence diagrams including connectors?

ChrisBD

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: Connectors in Sequence diagram not exp. in XMI
« Reply #1 on: June 07, 2010, 07:26:52 pm »
What type of model and version control respository are you using?

Are you using "instances" of items within your sequence diagram or just simple links?

As a general rule any items used on a diagram that do not appear along side it within the Project Browser will probably be referred to using a "simple link".

Such items may exist within a different package and so must be exported as well if they are to exist on re-import.

jrueting

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Connectors in Sequence diagram not exp. in XMI
« Reply #2 on: June 07, 2010, 09:24:55 pm »
Thanks a lot for the quick response. Indeed, we are using links to objects in the sequence diagram. I have checked the properties of the linked objects and can see references to the sequence diagram.
When I export both packages - the package with the sequence diagram and the package with the linked objects - then I get the full sequence  diagram with all connectors (import sequence seems to be important: first the package with the linked object, then the package with the sequence diagram).
Now I understand how we can exchange sequence diagrams in our team - thanks again for helping us.
  
« Last Edit: June 07, 2010, 09:30:20 pm by jrueting »

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Connectors in Sequence diagram not exp. in XMI
« Reply #3 on: June 17, 2010, 10:34:40 pm »
This problem occurs if the elements are directly used in the sequence diagram. Sparx recommends to use lifelines in sequence diagrams which is also UML strictly compliant
<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>