Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Maggie 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
-
A SD should be part of collaboration which realizes a use case.
q.
-
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 (http://geertbellekens.wordpress.com/2011/05/27/uml-best-practice-one-operation-one-sequence-diagram/)
Geert