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
11
votes
5 answers

What is the difference between sequence diagram and communication diagram?

Could anyone explain me what is the difference between sequence diagram and communication diagram?
Quang Huynh
  • 345
  • 1
  • 4
  • 13
10
votes
1 answer

How can I generate sequence diagrams from Java source code?

Is there any command line tool which takes Java source and generates sequence diagrams? Or are there any tools that convert Java code to XML and convert the XML to sequence diagrams in any of the standard image format using open api ? i know some…
pavan
  • 733
  • 3
  • 10
  • 22
10
votes
6 answers

add boxes / containers in mermaid sequence diagram

I'm making sequence diagrams with Mermaid, and I find the loop feature very cool, drawing a labeled rectangle around a loop with this code chunk: sequenceDiagram loop Title Alice->>Bob: Hello John, how are you? Bob->>Alice:…
agenis
  • 8,069
  • 5
  • 53
  • 102
9
votes
5 answers

Is there any way to export sequence diagram generated by visual studio?

I am using Generate Sequence Diagram feature of Visual Studio. I have to show my sequence diagram to someone who don't have Visual Studio Ultimate Edition Is there any way to export the sequence diagram to any format so that it can be viewed…
Haris Hasan
  • 29,856
  • 10
  • 92
  • 122
9
votes
3 answers

How to represent an interrupt in a UML sequence diagram?

I want to design a simple embedded system. The special thing about this is that I want to design its architecture using UML. Among other diagrams I'm using, I have a Sequence Diagram as the one shown in the below image. What I'm trying to depict…
m4l490n
  • 1,592
  • 2
  • 25
  • 46
9
votes
3 answers

UMLet Diagrams like Use Case, Class, Activity, etc

Can you please help me find a detailed tutorial on this topics: UML Behavior Diagrams Use Case Diagrams Activity Diagrams Structure Diagrams Class Diagram Interaction Diagrams Sequence Diagram Communication Diagram I'm really a newbie and I…
user1246567
  • 93
  • 1
  • 1
  • 3
9
votes
1 answer

Visio 2010 UML Sequence diagram - lifeline does not have enough connectors

I am using Microsoft Visio 2010. I am drawing a UML sequence diagram. I added object Lifeline and started drawing diagram. Because the diagram is very long, at one point there would not be any more connectors to connect the arrows to. See this…
Rauni Lillemets
  • 2,299
  • 1
  • 26
  • 39
9
votes
1 answer

ActionExecutionSpecification and BehaviorExecutionSpecification

With regard to UML specification superstructure i read about ActionExecutionSpecification and BehaviorExecutionSpecification What is the differences between them? In which cases i should use each one of them?
Carlos
  • 1,522
  • 5
  • 14
  • 26
8
votes
5 answers

Diagrams for JavaScript functions

What tools can be used to convey concepts like JavaScript variable scoping and closures clearly in something similar to UML sequence diagrams? For example, how can code like the following: (the Infamous Loop Problem) var arr = []; for(var i=0; i<10;…
Richard JP Le Guen
  • 28,364
  • 7
  • 89
  • 119
8
votes
1 answer

Enterprise Architect, sequence diagram: alternative return paths

I'm creating a sequence diagram in Enterprise Architect (Sparx Systems) where there may be several return paths. But on the first return the lifeline is cut off. Is there any solution?
Petr Freiberg
  • 567
  • 4
  • 14
8
votes
2 answers

Seq Diagram Drawing try catch block in UML

I have a question, how can I draw try catch block in sequence diagram in UML? Can I draw the try as the normal case and the catch as the alternative case or no? I'm using Visio to dram the UML sequence diagrams.
Lisa
  • 3,121
  • 15
  • 53
  • 85
7
votes
1 answer

how do i choose the right UML diagram for front end

I want to develop mobile applications, but I only focus on frontend development not on the backend. I want to make a UML diagram, but I am confused about what to do, at this point I think I will make a use case diagram, a use case description, and…
7
votes
1 answer

ASP.NET MVC request processing sequence

Is there a definitve guide/reference on exactly what methods and in what sequence are invoked while processing a request in an ASP.NET MVC pipeline? Much like a sequence diagram, I guess.
Anton Gogolev
  • 113,561
  • 39
  • 200
  • 288
7
votes
1 answer

UML sequence diagram - how to represent method arguments that instantiate objects

I'm not sure how to represent something like the following in a sequence diagram (in Ruby): class FirstClass def process thing = SecondClass.new('string argument', third_class, 2) end def third_class …
Robert Faldo
  • 401
  • 7
  • 15
7
votes
1 answer

Void-returning functions in UML sequence diagrams

I have a problem with the sequence model seen in the diagram below, specifically where the System object is creating a new Number. In this case, there is no need for a return message since the function SaveInput(n), both in System and Number, is the…
user360907
1 2
3
39 40