Thiago Cardoso
Thiago Cardoso

Reputation: 725

Message order in UML 2.0 sequence diagrams

How the order of the messages is modeled in UML 2.0 sequence diagrams?

I've browsed the UML 2.2 Superstructure specification and the only structure I found to model order is the GeneralOrdering class. I'm modeling my system with Papyrus, but it doesn't insert message ordering information automatically, so I miss guidelines on the use of this class.

I had the idea to test other tools and check the XMI output, but those that exported the sequence diagram properly used proprietary extensions to model message order. I tried Umodel, astah*, Enterprise Architect, PowerDesigner, Software Ideas Modeler and Visual Paradigm.

Any hint?

Upvotes: 2

Views: 1857

Answers (2)

Thiago Cardoso
Thiago Cardoso

Reputation: 725

I asked the same question in Eclipse Papyrus's forum, where I got the following answer:

"I'm not sure about the specifics of Papyrus, but in the UML specification, the 'fragments' relationship from Interaction to InteractionFragment is ordered (Figure 14.3), so that determines the order of the messages."

Follow this link for the full message.

Upvotes: 0

UML GURU
UML GURU

Reputation: 1462

Don't use Papyrus with the sequence diagram because it doesn't really work well. It is impossible to create a diagram with this tool. The other tools you mentioned are a lot better. After studing all the market tools my conclusions are:

The best sequence diagram on the market is RSA IBM.

  • The best Class diagram is Omondo EclipseUML.
  • The best usecase diagram is RSA and Visual Paragdigm.

By the way the xmi model of the sequence diagram has never been a success and is really a mess. Except the sequence diagram all the other diagrams at really well-done at model/xmi by the OMG specification of UML 2.3. Really good specification but sequence diagram was and is still a misery !! s

Upvotes: 1

Related Questions