Questions tagged [sequence-diagram]
The sequence-diagram tag has no summary.
85 questions
1
vote
3
answers
386
views
UML Sequence Diagram: User interaction with a nested Form Component vs Page container
I have a Next.js application where a Page (page.tsx) renders a nested Form Component (AddStaff.tsx). When a user fills out the form and clicks 'Submit', who is the direct actor in a Sequence Diagram?
...
8
votes
2
answers
1k
views
Creating sequence diagrams for use cases
If I create a sequence diagram for a use case, should the objects in the sequence diagram be based on the methods and classes in the class diagram, or is that not necessarily required?
2
votes
3
answers
695
views
Diagram for Parallel processes
What type of diagram can I use to model parallel processes interacting with a shared set of resources, along with the state of those resources at each point in time?
My motivation is I have a bug that ...
1
vote
0
answers
32
views
Is the activation box allowed to hang across the entire life line or is stacking them a better option? [duplicate]
I'm trying to learn UML, and right now I'm focusing on sequence diagrams. I'm trying to represent this Java code in a diagram.
I'm very unsure about the activation boxes. Could somebody maybe provide ...
1
vote
2
answers
185
views
granularity of sequence diagram
I am new to UML, and I am self-learning it, so please bear with me. I am trying to model a system where a teacher can develop an assignment paper and use an LLM to generate answers to make a more ...
1
vote
2
answers
863
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 ...
2
votes
2
answers
222
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 ...
1
vote
1
answer
1k
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 ...
3
votes
3
answers
6k
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 ...
2
votes
1
answer
458
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?
...
4
votes
1
answer
322
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 ...
4
votes
2
answers
3k
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 ...
2
votes
1
answer
317
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 ...
1
vote
1
answer
498
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 ...
1
vote
1
answer
489
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 ...