Home » Eclipse Projects » Sirius » Sequence Diagram(Move within the Lifeline-Layout)
Sequence Diagram [message #1848028] |
Wed, 17 November 2021 10:17  |
Eclipse User |
|
|
|
Hi all,
Recently, I just start with some tutorials regarding the implementation of a sequence diagram for your custom language using Sirius. Basically, inspecting the example of the interactions and [1].
Currently, I am trying to develop a language that should look something like this:

Basically, it is data that passes from one layer to another. The root is the Pipeline that contains the layers and the layers contains the different methods. Each method should reference one Data or a set of Data.
At this moment, I have two problems:
1. I am not able to move the data elements within the lifetime. Right now, the last data element is only shown on the diagram. I think that I do not understand well the endsOrdering and the Instance Role Ordering :-/.
2.It would be possible connect/disconnect elements by the size. If I have a representation like in the figure and I reduce the size of Layer1/S1 element then, I will like to remove the connection of Data3 and S1. Is that possible?
I uploaded the pipeline example, just in case someone has time to take a look at it.
I am using Sirius 6.5.1.
Thanks for any help!
Kind regards,
Anthony
[1] https://www.eclipse.org/sirius/doc/specifier/sequences/Sequence%20Diagrams.html
|
|
| | |
Re: Sequence Diagram [message #1848096 is a reply to message #1848044] |
Fri, 19 November 2021 09:50   |
Eclipse User |
|
|
|
Hi Maxime,
Thanks a lot! Sorry for the late reply, but I am still struggling with some concepts that unfortunately I still do not understand well. My doubts are the following:
1. SequenceDiagramDescription::endsOrdering. I am struggling in trying to debug the interactions example, but unfortunately I still do not understand how exactly it works. I still do not know what I should return here. So, Imagine that I have a model like the above figure, then, What I should return in the endsordering? Something like this: Data1, Layer1/U1, Layer2/S1, Data2, Layer1/S1, Layer2/S1, Data3, Layer1/S1, Layer2/U1.
2. My other doubt is regarding the execution of the DataNode. What I should return in Starting End Expression and Finishing End Expression? It shoud be something like this for Data1:
-Starting End Expression: self
-Finishing End Expression: Layer1/U1
I would say that this is also one of my problems.
Hopefully, you can understand my questions.
Thanks!
Kind regards,
Antonio
|
|
| | |
Re: Sequence Diagram [message #1848886 is a reply to message #1848741] |
Wed, 22 December 2021 05:48  |
Eclipse User |
|
|
|
Hi,
It seems that I figure out what was the problem. At least in this example, this problem is raised because the Square Style that belongs to the Execution Lifeline does not have a definition of Width and Height. Thus, I just put (Height = 20 and Width = 1), and then, it works like a charm.
Kind regards,
Antonio
|
|
|
Goto Forum:
Current Time: Tue May 13 14:44:59 EDT 2025
Powered by FUDForum. Page generated in 0.03299 seconds
|