How to draw a Sequence Diagram for a Use Case that <<extend >> another Use Case?

Student picture Student · Mar 2, 2013 · Viewed 7.6k times · Source

Can anyone provide any links that show how to draw this type of conditions?

Answer

Steph picture Steph · Mar 9, 2013

In addition to what Observer said, use a opt fragment AND a ref fragment inside.

  • The opt fragment to set a piece of your sequence diagram as optional
  • The ref fragment to delegate the content of the opt to another sequence diagram.

This way you have a 1-1 relationship between your use cases and your sequence diagrams, which is usually clearer.

See for example this picture : http://www.ibm.com/developerworks/rational/library/content/RationalEdge/feb04/3101_figure11.jpg