Visual Modeling with Rational Rose 2002 and UML (3rd Edition)
I l @ ve RuBoard |
Every time i teach a class, the question "How complex can a sequence diagram be?" is always asked. The answer I always give is "Keep them simple." The beauty of these diagrams is their simplicityit is very easy to see the objects, the object interactions, the messages between the objects, and the functionality captured by the scenario. The next question is usually "What do I do about conditional logic?" (all the if, then, else logic that exists in the real world). Here, you again have a very subjective answer. If the logic is simple, involving only a few messages, I usually add the logic to one diagram and use notes and scripts to communicate the choices to be made. On the other hand, if the if, then, else logic involves many complicated messages, I typically draw a separate diagramone for the if case, one for the then case, and one for the else case. This is done to keep the diagrams simple. If you desire , diagrams may be linked to one another. This allows the user to navigate through a set of diagrams. LINKING DIAGRAMS IN RATIONAL ROSE
|
I l @ ve RuBoard |