Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jimp

Pages: [1]
1
Uml Process / Re: branching in sequence diagrams
« on: June 03, 2003, 06:08:07 am »
Thanks again for the suggestions, Tjerk. The boundary box might be a good way of doing it. Maybe I should be simplifying my sequence diagrams so that they only show one flow through a use case, which would cut down the need for branching. I'll get the hang of this sometime!

I've definitely seen vertical forking in a draft OMG spec and a couple of text books, so maybe it could be included as a feature sometime.

Cheers

Jimp

2
Uml Process / Re: branching in sequence diagrams
« on: June 03, 2003, 05:27:07 am »
Thanks for the reply. I'm actually not talking about anything complicated here - simply something like:

in code for a method of object1...

if (condition)
   object2.method1()
else
   object2.method2()

The lifeline of object2 would fork into two different focus of control regions, depending on what message it got from object1. I've seen diagrams like this in various places, including the OMG UML specification, so I'm assuming that it's a standard kind of thing to do?

3
Uml Process / branching in sequence diagrams
« on: June 03, 2003, 04:12:43 am »
Is it possible to make the lifeline of an object in an EA sequence diagram fork into two different focus of control regions when a branch results in two different messages being sent to the same object? The lifelines should then merge back after the completion of the alternative actions.

Pages: [1]