Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

usecase in sequence diagrams?

 
D. Rose
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can we show usecase (elliptical icon) in the sequence diagram and forward control to it for including it in the flow?
Is it valid in UML? I have not seen such a thing in the books.
Can anybody give some reference please?
 
H. Hafer
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's an example in Cade's book, AFAIK

regards,
Harbo
 
Renaud FLORQUIN
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although I saw this construction in internet (http://www.agilemodeling.com/style/sequenceDiagram.htm) and some case tools accept this, I never read this in UML standard or the Three Amigo's UML Reference Book.

So, I think it's not UML compliant; instead you can use the "ref" construction for referencing sequence diagrams within sequence diagrams. The problem is that I never see a UML Case tool supporting this construction

Renaud
 
D. Rose
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. I first decided to use usecase diagrams but then no standard UML book handles it that way ( theory lagging beind actual practice?). so I have currently decided to do it with just notes ( my tool does not support ref ).
That way atleast I will not lose marks on UML standards.
 
H. Hafer
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Renaud FLORQUIN:
So, I think it's not UML compliant; instead you can use the "ref" construction for referencing sequence diagrams within sequence diagrams. The problem is that I never see a UML Case tool supporting this construction


Enterprise Architect in its current version does exactly that.

Cheers,
Harbo
 
Renaud FLORQUIN
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed, I just try the trial version of Software Architect and it is possible to structure a sequence diagram using "fragment". Unfortunately there is no "ref" fragment type ... with the reference to the target sequence diagram ( with input/output parameters).

Renaud
 
H. Hafer
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Renaud FLORQUIN:
Indeed, I just try the trial version of Software Architect and it is possible to structure a sequence diagram using "fragment". Unfortunately there is no "ref" fragment type ... with the reference to the target sequence diagram ( with input/output parameters).

The fragment thingie is very usefull for alternative flows in sequence diagrams. You get a reference by dragging a sequence diagram(!) onto another sequence diagram and choosing the (default) option "Interaction occurrence"
The input/output can be set in the preferences dialog.

HTH,
Harbo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic