Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [sequence-diagram]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
123 views

Destroy and Create messages in UML

In UML we have two special messages, create and destroy. These two messages describe the creation and the destruction of objects, respectively. We must use the stereotypes << create >> and ...
AAA's user avatar
  • 43
2 votes
2 answers
156 views

How to document a concurrent communication protocol for less theoretical people

We are developing a multi-user web-based application, where the users can join a "room" and a complicated handshake has to be set up between them, to be able to use a library on each ...
staccato's user avatar
0 votes
1 answer
298 views

Sequence diagram with successive requests

Please help with a diagram in which there are sequential requests. The logic is the following: Service 1 sends a PUT Trigger an export request to Service 2 If the response is 200 OK, then after 10 ...
Alex's user avatar
  • 3
3 votes
3 answers
1k views

UML sequence diagram - When to start and end activation box

I am using the c language. I created one lifeline for each file. I am confused about the activation box. Many people said an activation box indicates an object is active and processing a task. In case ...
Sam's user avatar
  • 139
1 vote
1 answer
252 views

Is the UML sequence diagram correct?

The following sequence diagram is rendered by Sparx Enterprise Architect. Is the start of the new activation (blue) correct? Shouldn't it rather continue with the existing activation on the Object2? ...
Petr B's user avatar
  • 121
3 votes
1 answer
212 views

GOF class diagram for Builder pattern appears to contradict its corresponding sequence diagram

In the Design Patterns: Elements of Reusable Object Oriented Software, the Gang of Four present the following canonical form for the Builder pattern: In Appendix B the following is mentioned ...
user32882's user avatar
  • 267
3 votes
2 answers
1k views

Arrow head for a reply message in UML Sequence Diagram

In UML sequence diagrams, there is the possibility to specify a synchronous call with a reply message. Example (taken from https://en.wikipedia.org/wiki/Sequence_diagram) When modelling that in ...
koppor's user avatar
  • 577
2 votes
1 answer
181 views

Can we use external parties as objects in a sequence diagram?

I am currently building a sequence diagram for a website to allow customers to make online bookings for a travel agency. If a customer books a flight, he/she can use an online payment method to pay ...
Malinsha Vithanage's user avatar
1 vote
1 answer
297 views

How to present my Actors and Objects inside Sequence diagram for an Online Management Exam system

I am working on an online exam management system, which have those main actors:- Super Admin. Can manage questions/answers under all functional areas. Functional Admin. Can add questions/answers ...
test test's user avatar
0 votes
1 answer
390 views

Sequence diagram question

For this question: Considering the following sequence diagram, it is CORRECT to state that: Select one or more: a. Message 4 might never be executed. b. Message 5 is not complete until the Customer ...
computerscienceisapain's user avatar
2 votes
1 answer
2k views

In a sequence diagram, where do message parameters come from?

I'm drawing some sequence diagrams to give a graphical depiction of the use cases written during the requirements elicitation phase for my project. This is a simple one: Vote Post Use Case ...
cidra's user avatar
  • 333
0 votes
0 answers
470 views

Drawing a sequence diagram for a "View posts in a section" use case

As title says, I'm currently working on an alaysis model for a little website similar to Reddit for academic purposes. I have one use cases written like this (They're not in English so they may not ...
cidra's user avatar
  • 333
2 votes
4 answers
2k views

A single sequence diagram for the whole system?

Sequence diagrams are used to model use case scenarios i.e., main success scenarios and alternate scenarios. That's what I understand from Craig Larman's book. I understand that it depends a lot on ...
a_fan's user avatar
  • 145
2 votes
2 answers
346 views

Actors and their representation in the system

I am trying to understand the relationship between actors and their representation in the system. Please see the below figure In the figure on left, I have an abstract representation of my system. In ...
Afia R. S.'s user avatar
1 vote
1 answer
241 views

Difference between Sequence Diagrams at Conceptual and Design

Recently I learned that sequence diagrams can be used at both requirements specification and design level. My search so far shows the boxes on top of the sequence diagrams used for design consist of ...
Melanie A's user avatar
  • 339
1 vote
1 answer
549 views

when and how to use class responsibility collaboration cards vs sequence diagrams?

I've recently come across CRC cards and sequence diagrams at my university. Martin fowler has said that sequence diagrams are interchangeable with CRC cards when you're in the design phase of your ...
Lukas Mittun Alexander Guldstv's user avatar
0 votes
1 answer
314 views

How to return an new Object as Value ?[Sequence Diagram]

within the sequence diagram it is possible to return a value, with return of a method edge, however this is usually done with a simple numeric or string value. Is it possible to return a whole object? ...
user13047397's user avatar
2 votes
1 answer
5k views

What can be an Actor in a subsystem sequence diagram?

I am doing a lot of sequence diagrams. We decided to start at a subsystem level of abstraction because we do not have all the details yet. In my diagrams I was using this definition of Actor: In UML, ...
Renato Sanhueza's user avatar
1 vote
1 answer
279 views

Is my Sequence diagram correct? I need some comments

It's a SEQ diagram designed for a smartwatch app to receive zone level of feeling from an adult with autism on their smartwatch and provide a recommendation based on their input. The scenario is like ...
niloofar's user avatar
0 votes
1 answer
1k views

How do I represent parallel (multiple) inputs in a UML Sequence diagrams?

I am new to UML sequence diagrams. I saw a few YouTube videos and a few tutorials such as this one. I have a system with multiple inputs, that can interact with the system asynchronously. For example,...
universe's user avatar
  • 113
0 votes
1 answer
1k views

CRUD use case and relative sequence diagram

I'm building my project with Visual Paradigm and I have some use cases that implements the CRUD pattern. As specified in the book Use Cases: Patterns and Blueprints, Övergaard and Palmkvist suggest ...
aculf's user avatar
  • 21
0 votes
1 answer
478 views

User registration flow UML diagrams

This my first UML diagram for user registration flow. After double checking the diagram I feel that I have a crowded diagram compared to what I can found in Google search. My questions: Are my alt ...
malhobayyeb's user avatar
1 vote
3 answers
151 views

Should the View pass data inserted from user to Controller or should the Controller get data from View's fields? (MVC Pattern)

My View has a textfield and a button. According to MVC pattern on button click should be called a function of the controller. This function should do some operation on the View's textfield content. It ...
Diablo3000's user avatar
4 votes
2 answers
12k views

How to write UI in sequence diagram?

So i want to make a sequence diagram for login .. the first step is user access my website then the system redirect to login Form, then he insert username and password than the system validate it , if ...
Enrico Hasnawi's user avatar
1 vote
1 answer
2k views

Sequence diagram: explicitly show websocket creation?

I am trying to draw up a sequence diagram to show how my web client will interact with my backend over a websocket connection. I am using a websocket middleware to manage the stream connections. ...
Anthony Kong's user avatar
1 vote
3 answers
2k views

Is this right way to create sequence diagram?

im trying to create a sequence diagram for login , but i dont know if its true or not , maybe the community can help me check , because i see many way to create sequence diagram and its not the same ...
codeislife's user avatar
7 votes
1 answer
1k views

Why is a <<create>> message asynchronous in UML sequence diagrams?

As far I as I could tell, the proper way to show an object creation in a sequence diagram is with an asynchronous arrow, e.g., However, in Java (and other OO languages I have used), as far as I know, ...
Fuhrmanator's user avatar
  • 1,435
0 votes
2 answers
3k views

Object and actors in sequence diagram [duplicate]

question Can an actor "talk" directly with an object of the system in a sequence? example For an homework I need to model a "tracking service" for some shipping company. The functional requisites ...
artas's user avatar
  • 27
0 votes
1 answer
2k views

Handle alternative frame in sequence diagram

Question When an alt frame is used in a sequence diagram, and one of the two possibility end the sequence, how is "legal" to continue? example I need to represent a sequence in wich there ...
artas's user avatar
  • 27
-1 votes
3 answers
604 views

Coherence between sequence diagram and class diagram

Question 1 All participants in a sequence diagram must match a class in class diagram? Question 2 All class that represents some object that is created by the system needs a class that creates it? ...
artas's user avatar
  • 27
2 votes
3 answers
463 views

What's the use case of the combined fragment "strict"?

As far as I understood, synchronous messages will be handled one after another. Then we have the interaction operator for combined fragments called "strict" which states, that the operands inside the ...
TimSch's user avatar
  • 129
3 votes
2 answers
8k views

UML sequence diagram for a periodic operation

I have a scheduled operation in my spring boot application using spring boot scheduler. this operation executes every period of time(30 minutes) and adds data in the database if conditions are met. I ...
Kames Guen's user avatar
1 vote
1 answer
402 views

Is the sequence diagram for the pull model for observer pattern the same as push model?

I've been looking at examples of sequence diagrams for observer pattern but most implement push model where the subject updates the observers. In a pull model how would it be different because ...
Sook Lim's user avatar
  • 167
1 vote
1 answer
2k views

C# variables in Sequence diagram

I am playing with sequence diagram. And main question is how to draw properly on sequence diagram interaction with variable. How to draw 1) When MakePayment aggregates person insurance....
A191919's user avatar
  • 123
0 votes
2 answers
2k views

Is it possible to represent an if statement in a system sequence diagram?

I'd like to highlight that this questions is about a System Sequence Diagram (SSD) and not a simple Sequence Diagram and of course any help would be appreciated! I'm reading Graig Larman's book ...
Johnny boy's user avatar
-5 votes
1 answer
117 views

How this diagram can be improved [closed]

I'm looking for failures in this "token based login" design, besides the UML "syntax" errors. Theoretically speaking, it will do the trick when implemented on an small project. If true, sorry about ...
Marcelo's user avatar
1 vote
1 answer
3k views

Trying to understand Sequence Diagram

I am trying to understand two sequence diagrams that I have found in the SE course at university of Washington. Can you confirm if my understanding is correct ? Diagram 1: According to my ...
AAA's user avatar
  • 167
3 votes
0 answers
906 views

Displaying entity framework calls in Sequence Diagram

I have a controller action which gets all the Plants by location from the database puts it inside a view model and passes it to the view. public ActionResult index() { List<Plant> plants = ...
Saad A's user avatar
  • 139
-1 votes
1 answer
1k views

Microservice dependency diagram

What is the best way to capture dependency between microservices. I want to create a diagram which show the interfaces and the microservices using the interfaces. The aim is to easily do a impact ...
unnik's user avatar
  • 129
1 vote
3 answers
793 views

How to display a C# using() statement in sequence diagram

Is there a rule/guideline about how to display a C# using() statement in UML sequence diagrams? I'm right now in the last months of my apprenticeship. And to prove, that I'm able to develop software ...
FredM's user avatar
  • 121
1 vote
1 answer
1k views

Representing handlers on UML diagrams

This question is a follow-up to Representing multiple actions for sequence of objects on activity diagram, but isn't strictly related. The question boils down to: How to present in UML patterns that ...
Jędrzej Dudkiewicz's user avatar
8 votes
1 answer
16k views

Shall the Database in a sequence diagram be represented as actor or boundary?

I'm designing a system made of a web application and database. I use the <<Entity>> - <<Control>> - <<Boundary>> stereotypes in my UML diagram. In the following ...
khalid's user avatar
  • 101
4 votes
1 answer
9k views

What is a good diagrammatic way to represent async event communication between two systems?

What is a good diagrammatic way to represent asynchronous event communication between two systems (the pub sub model)? I am not looking for tools but more of a representation. Is it a sequence diagram,...
Vikash Kodati's user avatar
2 votes
2 answers
6k views

Sequence diagram for Abstract and Derived class

I've a bunch of classes where one is Abstract class. I draw few derived class from that Abstract base class. For example, class IBase{ public: *register(): bool* *update(): bool* }; class Derived:...
meAbab's user avatar
  • 39
2 votes
4 answers
1k views

Is actor a own class

I have this sequence diagram and want to transform it into a class diagram. But I don't know if the actor (Customer) is in this case a own class or not. Normally the actor isn't a own class, but in ...
CloudPotato's user avatar
2 votes
2 answers
2k views

Long chained method calls contained within an if statement shown on a sequence diagram

Just wondering if there is a good way to do this? Currently i'm performing the method calls as if they were happening prior to the conditional block, then comparing what would be the result in "[...
ldmccartin's user avatar
5 votes
3 answers
2k views

Software architecture | App with API back-end

I have been searching the net for an answer, but I was not able to find a similair question nor answer. So here I am. I am developing an app where a user can take a picture of a car and they will get ...
Gertjan Brouwer's user avatar
2 votes
1 answer
3k views

How do I represent a recursive process down a tree in a sequence diagramm?

I'm working on a sequence diagram for a layered system that has a tree hierarchy. Now I have a process that works itself recursively down the tree. Meaning calling the same function on a child object. ...
Herr Derb's user avatar
  • 429
3 votes
2 answers
2k views

A function as a parameter in UML

I was wondering what is the best way to represent a function that is passed as a parameter in UML. Because I want to create a sequence diagram of my current networking code in my Swift project and ...
Sjenk's user avatar
  • 33
3 votes
1 answer
2k views

UML Sequence Diagram

I am trying to draw a sequence diagram for "post a job" use case. The description is as follow: Basic flow: This use case begins when the employer selects the “Post a new Job” option. System ...
Arwa's user avatar
  • 219