Book a Demo

Author Topic: sequence diagrams and class methods  (Read 2537 times)

Maggie

  • EA User
  • **
  • Posts: 106
  • Karma: +0/-0
    • View Profile
sequence diagrams and class methods
« on: April 03, 2012, 12:39:17 am »
Hi
I am writing sequence diagrams for the major methods in my classes
What is the best way to associate the sequence diagram with the method.
So far, I have been creating the sd under the class in the project browser but in a class with many methods it can be hard to trace from the method in the project browser to sd.

Is there a better way

thanks

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: sequence diagrams and class methods
« Reply #1 on: April 03, 2012, 01:25:15 am »
A SD should be part of collaboration which realizes a use case.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: sequence diagrams and class methods
« Reply #2 on: April 03, 2012, 03:32:48 pm »
My recommendation is to link the operation to an Interaction (via the behavior tab), and put the sequence diagram underneath.
See UML Best Practice: One Operation => One Sequence Diagram

Geert