Trace from Seq_diag


#1

Hi

is it possible to trace or make a similar action from a sequence diagram ?
ny purpose is to synthetize in a textual or schema the primary actions of seq diag

I am trying to export in excel, but it is appear not useful

thanks
nicola


#2

Hi Nicola,

I’m not sure I fully understand what you’re trying to do, but I’ll give it my best.

The easiest method that I’m aware of is to right click, then select the “Show Text Editor” option. This will open up a new window section which contains an overview of all your diagram elements. The first tab displays all lifelines (actors and lifelines) and any extra information about them. The second tab shows all the messages in your diagram.

However, this section is merely an extra interface to edit parts of your sequence diagram.

If you want a full overview then I suggest you use the Glossary diagram. This will allow you to collect a series of names (basically model elements) and add them to an overview diagram (the glossary). Not only will this come much closer to what you want (or so I think), it also makes it easier to export this information in a more useful way to Excel (if you still need that).

Here is an example of what I mean:

Making this is really easy: double click on an element (in your sequence diagram) as if you were going to edit its name. When it is selected right click and then select “Add ‘name’ to Glossary” from the popup menu, where ‘name’ is of course your model element name. Do this for all the elements you need in the overview (I assume all the lifelines?).

Then go to your project browser (control-shift-b or click the icon on the right side of the screen (on the breadcrumb bar)). The Glossary will be shown in your Diagrams overview, and also in the Model Structure section (look for the ‘Glossary’ model):

This should make it really easy to keep an overview of all your model elements but in a grid-like fashion. If you want to export this to Excel then I suggest you use the ‘Raw’ export style. This will basically recreate the grid in Excel, which will make it much more accessible.

Hope this helped!


#3

You can edit your messages via “Text Editor”, as following screenshot.

But sorting, filter, etc… are not supported in this view

Hope it can help you. :blush:


#4

thank you very much

Your advises are useful sure.

I may made a file that I can manipulate,change,sort… (excel is good, but not only)
The input for this work is sequence_diagram/s

In my ideas the output file has multiple lines,
every line is made from operation name (message) in the correct sequence and object Class name tx/rx

this file permit me add consideration, export in document, elaborate, collpase many sequence diagram.
One employ of this fiel is merge many seq_diag that made a singular complex action.

with the only sequence diagram I can only print PDF or similar, I can’t elaborate it

Thank yoo so much - Nicola