Questions tagged [sequence-diagram]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
48 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. ...
0
votes
2answers
28 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 ...
7
votes
1answer
108 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, ...
0
votes
2answers
200 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 ...
0
votes
1answer
141 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 are user ...
-1
votes
3answers
84 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? ...
0
votes
2answers
58 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 ...
0
votes
0answers
25 views

Sequence Diagram Assistance with external database

I have 5 Java/android classes which are in sequential order. The user inputs data into the text box and clicks next. Two things happen, 1 the data the user inputs is passed to the next activity and it ...
1
vote
2answers
112 views

UML sequence diagram for a peridoc 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 ...
1
vote
1answer
93 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 ...
1
vote
1answer
401 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....
0
votes
2answers
244 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 ...
-5
votes
1answer
86 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 ...
1
vote
1answer
335 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 ...
3
votes
0answers
302 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 = ...
0
votes
1answer
677 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 ...
1
vote
3answers
578 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 ...
1
vote
1answer
376 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 ...
4
votes
1answer
6k 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 ...
1
vote
1answer
1k 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,...
2
votes
2answers
2k 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:...
2
votes
4answers
707 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 ...
2
votes
2answers
1k 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 "[...
5
votes
3answers
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 ...
1
vote
1answer
2k 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. ...
3
votes
2answers
813 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 ...
3
votes
1answer
936 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 ...
7
votes
3answers
11k views

UML sequence diagram - how to represent async response

If A sends an async message to B like for example, to load async images to UI from the web. Where should the response message go? Should it be slant as well or direct? And where would the activation ...
11
votes
1answer
6k views

Sequence Diagram: Are actors objects?

The most likely answer is no, but I've come with this doubt. Can an actor act as a class? I know actors trigger events and can have prompts, but if there's a class modeling an actor (such as an user ...
2
votes
1answer
2k views

How to show multiple exit conditions in a system sequence diagram loop frame

How are multiple exit conditions in a system sequence diagram loop frame indicated? And how would the alternative event flow based on how the system exited the loop be shown? For example a login loop ...
2
votes
2answers
439 views

Is it okay to simplify a Sequence Diagram (grouping lifelines)?

Is it okay to group several Components into a single lifeline for simplicity? For example, let's say I have a UML Component Diagram, and it's a layered architecture. There are 26 components, one on ...
2
votes
2answers
360 views

Sequence diagram - unknown receiver of a message

Our lecture provides us students a quiz to revise the material learnt of the last study session. The answer to the following questions was stated as "Yes": "The receiver of a message does not have ...
4
votes
1answer
4k views

Does a message in a UML sequence diagram have parameters or arguments? [duplicate]

I recently took an exam for the introductory course on Computer Science. One question was about sequence diagrams (very simple example, boiled down to its essentials): The Bank object sends a ...
2
votes
1answer
2k views

Is there a way to show an if statement in a UML Sequence Diagram?

I went on an interview last year and was shown a sequence diagram and was asked to describe the the sequence. There were 2 things in the diagram I had never seen before. I asked what one of them was ...
4
votes
2answers
3k views

How to show retry in sequence diagram

I am drawing sequence diagram for large integration project where one system will initiate the REST call to another system and there is a proxy in middle which will pass through the request like A->...
3
votes
3answers
1k views

What is the connection between messages in sequence diagrams and method calls?

Since sequence diagrams depict messages between objects in a system, the messages have to be representing method calls. My question is if I have two objects in the diagram lifeline A --- doSomething(...
1
vote
0answers
4k views

Var assignment in sequence diagram

I am trying to represent the function below (PHP function/Symfony2) as a sequence diagram using UML 2.0 and Visual Paradigm: private function getVeevaHcpSync($request, $action, $case) { ...
3
votes
1answer
4k views

Should a list or array of objects be represented as a lifeline in sequence diagram?

I have the following sequence diagram to add a student to a list of students. the implementation could be like List<Student> Students = new List<Student>(); Students.Add(aStudent); I ...
7
votes
3answers
14k views

UML: Queue processor in a sequence diagram

Which is the appropriate way of representing a queue processor in a UML sequence diagram? I want to represent in the same diagram two systems that are loosely coupled through a queue. The first ...
2
votes
3answers
1k views

Sequence diagrams and the Implementation

In the design phase we create UML Sequence diagrams (in OOD). My understanding is that after creating an Use Case diagram if we need to show further information in terms of time sequence of events of ...
2
votes
2answers
2k views

How deep is enough to represent an algorithm in UML sequence diagram?

I have three simple classes. LoginController, UsersCatalog and User. UsersCatalog has an array of User. I have to represent a simple process of login. LoginController has a method login(username, ...
2
votes
2answers
829 views

How to handle long method names in sequence diagram?

I have a C# application that is developed with VS 2010 pro. The ultimate version would have a sequence diagram feature. Since I will "create" my sequence diagram manually, how do I deal with quite ...
0
votes
1answer
395 views

Compatibility between Class Diagram and Sequence Diagram

Do the message being passed between objects in Sequence Diagram match with the methods in Class Diagram?
3
votes
1answer
1k views

Should JavaScript and PHP objects be treated as different objects in an interaction diagram?

I'm drawing a communication diagram for an application where you can buy books. I'm using domain-driven design and have a 'shop' object, a 'cart' object, and a 'book' object. My first communication ...
1
vote
1answer
421 views

How to depict Import a file action in the Sequence diagram

Everyone says sequence diagrams are so easy but I just cannot figure this out. Basically user clicks on an 'Import from temp folder' button, the program opens a window with a list populated with ...
6
votes
1answer
8k views

What UML diagram should I use to show a platform's architecture?

I have been learning UML and have a basic understanding now, but I keep seeing these sort of high level architecture diagrams. Here's one from Microsoft: Source: A bad picture is worth a thousand ...
2
votes
1answer
3k views

Is my sequence diagram correct?

NOTE: I am self studying UML so I have nobody to verify my diagrams and hence I am posting here, so please bear with me. This is the problem I got from some PDF available on Google that simply had the ...
1
vote
1answer
2k views

Showing user and userinterface interaction on a sequence diagram

I need to draw a sequence diagram and I am not sure exactly if it is correct to show interaction between user and user interface in this diagram. For example I want to make a panel visible or ...
2
votes
3answers
23k views

How to visualize timer functionality in sequence diagram?

I am developing software for communication with external device through serial port. To better understand the new functionality I am trying to display it in sequence diagram. Flow of events is as ...
-2
votes
1answer
2k views

Sequence diagram should consist of View objects, DB objects, etc.?

What is the correct usage of UML sequence diagrams? Should they contain objects of View classes or DB classes? Or should they modeled in a more generalized fashion? Or is this completely arbitrary?