Questions tagged [sequence-diagram]

The UML sequence diagram

The concept of a UML sequence diagram.

Use this tag for questions relating specifically to problems related with sequence diagrams. Do not use this tag if you're explaining your question using a sequence diagram, but there is no issue directly related to the sequence diagram.

589 questions
22
votes
3 answers

How to represent calls within same class using UML-Sequence diagram

I am trying to create UML sequence diagram for a particular process in our application. The problem is that most of the business logic is in one class and when I try to map it in sequence diagrams, I am getting multiple calls to the same objects in…
Ashay Batwal
  • 5,415
  • 7
  • 25
  • 30
20
votes
3 answers

How do you show instantiation in a UML Sequence Diagram?

How do I show that the WebServer instantiates a View and gets back control of the flow? Maybe I'm not using the right type of diagram? Thanks a bunch!
LeWoody
  • 3,593
  • 4
  • 25
  • 31
19
votes
3 answers

What exactly does the return line (dotted line) represents in a sequence diagram?

In which kind of steps should be we use the return line in a sequence diagram? <- - - - - -
Milena
  • 339
  • 1
  • 5
  • 14
17
votes
2 answers

How to make multiple sequence diagrams in single page

I wonder if there is any way to make a plantuml two sequence diagram in single page side by side. I want to keep the same actor names in both diagram. Currently if I do something like below, it automatically combined into single sequence…
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256
17
votes
1 answer

How to model parallel threads in a UML sequence diagram

How can I model two parallel threads that perform operations on an object in a sequence diagram?
Christian
  • 2,214
  • 4
  • 26
  • 37
16
votes
3 answers

It is possible to generate sequence diagram from python code?

I have about 700 lines of code. I have to write a little doc about this code. In this doc, I plan to have a sequence diagram to explain a bit more. something like this: Since Iam a bit lazy, I would like to know if there is a tool to generate this…
dmx
  • 1,862
  • 3
  • 26
  • 48
15
votes
3 answers

Is there any way to generate sequence diagram from android studio

I have created sample android project. Now i have to create sequence diagram for that. Is there any way to automatically generate sequence diagram for android project from android studio.
venkatesh gowda
  • 841
  • 2
  • 12
  • 26
14
votes
2 answers

How do I model an object thats returned from a function call in a sequence diagram?

Suppose I have code like user = AuthHandler.getLoggedInUser() user.setName(name) UserDAO.update(user) How will the sequence diagram look like? I did Is it correct? the user/userDAO part?
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
14
votes
4 answers

How to generate sequence diagram for my Native (C, C++) code?

I would like to know how to generate a sequence diagram for my Native (C, C++) code. I have written my C code using vim editor. Thanks, Sen
Navaneeth Sen
  • 6,315
  • 11
  • 53
  • 82
12
votes
1 answer

How to lengthen lifeline of sequence diagram in Dia?

I want to make sequence diagram by using UML diagram set in Dia. Can I modify or lengthen the rectangle of the lifeline? When I extend it, only the dashed line that extends.
fikr4n
  • 3,250
  • 1
  • 25
  • 46
12
votes
3 answers

How to present static class or function call in Sequence Diagram?

How is a static class or call to a static function presented in Sequence Diagram? As per my understanding, the lifeline belongs to an instance/object of a class. This article says metaclass stereotype can be used.
bjan
  • 2,000
  • 7
  • 32
  • 64
12
votes
1 answer

How can we generate sequence diagram in IntelliJ IDEA from Java code which is editable?

I am currently using SequenceDiagram Plugin from https://plugins.jetbrains.com/plugin/8286?pr= to generate Sequence Diagrams. But here the drawback is that I am not able to save them in a format like .uml or any other format so anyone can open this…
12
votes
1 answer

Is there an automated way to generate a sequence diagram from an applications Javascript code?

I'm trying to find out if there's a way to generate a sequence diagram from our Javascript code. Either something like that does not exist (yet), or I can't seem to find the good Google query. I always end up with js-sequence-diagram, which is a…
TweeZz
  • 4,779
  • 5
  • 39
  • 53
12
votes
2 answers

using Quick Sequence Diagram Editor for sequence diagrams

Anyone have experience with Quick Sequence Diagram Editor? The combination of instant display + text source code + Java implementation is very attractive to me, but I can't quite figure out how to make the syntax do what I want, and the…
Jason S
  • 184,598
  • 164
  • 608
  • 970
11
votes
2 answers

How can I represent a loop in a sequence diagram in Microsoft Visio 2007?

I am drawing a sequence diagram in Microsoft Visio 2007 and I want come message calls to be represented in a loop.But I can not find any shape in the shapes provided.How can I represent a loop in visio?? Need emergency help....please..........and…
Umesha Gunasinghe
  • 779
  • 3
  • 13
  • 29
1
2
3
39 40