I'm working on a project for a grad class and still having trouble wrapping my head around them.
What is the difference between a sequence diagram (SD) and a system sequence diagram (SSD)?
And in what order should they be developed when working on a systems development project?
Standard sequence diagrams show the progression of events over a certain amount of time, while system sequence diagrams go a step further and present sequences for specific use cases.
Differences Between Sequence Diagram and Activity DiagramThe Sequence diagram shows the message flow from one object to another object. The Activity diagram shows the message flow from one activity to another.
A class diagram shows a set of classes, interfaces and their relationships and illustrates the static design view of a system, while a sequence diagram shows the sequence of actions that occurs in a system and illustrates the dynamic view of a system.
A System sequence diagram visualizes a use case, while a sequence diagram visualizes a method of a class.
The elements participating (exchanging messages) in a system sequence diagram are Actors and Systems. The messages exchanged by these elements could be any type depending on the systems (from web service calls to data input from a human).
The elements participating in a sequence diagram are objects (instances of various classes). The messages exchanged by these elements are method invocations.
First you would analyze and document the use cases. Each use case describes a main business task required. The system use case diagram is part of this activity.
Later you come to design each subsystem, namely each element participating in the system use case diagram. You draw one or more class diagrams depicting the classes participating to the solution. Then you would draw a sequence diagram for the most important (or difficult to understand) methods.
EDIT: Some examples can be found in the agile modelling site.
Sequence Diagram: It shows interaction between two objects. System Sequence Diagram: It shows interaction between system & actors.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With