The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
57 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
1answer
27 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 ...
1
vote
0answers
27 views

Shared pointers across threads in UML for class and sequence diagrams

How does one represent shared pointers across threads in UML for class diagrams and sequence diagrams? I especially want to document the ownership of the memory even though it's accessibility (a ...
2
votes
1answer
50 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
0answers
52 views

Drawing sequence diagram for user-forget-password functionality

I'm trying to draw a sequence diagram of the functionality of user retrieving their password when they forget it and its procedure could be illustrated in this activity diagram. As you can see, ...
2
votes
1answer
70 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 ...
3
votes
2answers
323 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
288 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(...
2
votes
0answers
672 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) { ...
1
vote
0answers
293 views

How Generate sequence diagram from xmi file

I know we can generate an xmi file from a sequence diagram, but for inverse, I want to know if we can generate a sequence diagram from a xmi file with any tool(ie write my own code as xmi file which ...
1
vote
1answer
801 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 ...
3
votes
3answers
3k 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
577 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
597 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
178 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
74 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
653 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
123 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
4k 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
2k 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
787 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 ...
1
vote
3answers
8k 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
750 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?
4
votes
2answers
347 views

Should Sequence Diagrams be Specific or Abstract?

I'm creating a sequence diagram for a simple program I'm working on for work. The diagram I'm currently working on is very high level - it defines the interface with lots of alt paths, but does not ...
4
votes
4answers
2k views

Web pages in UML sequence diagrams?

In my current project, we have an ongoing discussion about whether or not it's a good idea to include an artifact representing a web page in an UML sequence diagram for a web application, making ...
8
votes
3answers
34k views

How to include conditions in UML sequence diagrams?

I like to draw a UML sequence diagram to display the sequence of actions and interactions of different parts of my system (I think they called actors). However, I need to include if then else ...