Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Sequence Diagram (SD) and a System Sequence Diagram (SSD)?

Tags:

ooad

uml

modeling

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?

like image 457
Joshua Aslan Smith Avatar asked Jun 03 '13 01:06

Joshua Aslan Smith


People also ask

What is difference between sequence diagram and system sequence diagram?

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.

What makes a system sequence diagram SSD different from an activity diagram?

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.

What are the main difference between sequence diagram and class diagram?

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.


2 Answers

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.

like image 100
nakosspy Avatar answered Oct 18 '22 18:10

nakosspy


Sequence Diagram: It shows interaction between two objects. System Sequence Diagram: It shows interaction between system & actors.

like image 44
Rehman Hazrat Avatar answered Oct 18 '22 18:10

Rehman Hazrat