Book a Demo

Author Topic: 15.1 Toolbox missing options for Sequence Diagram.  (Read 5007 times)

anders43

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
15.1 Toolbox missing options for Sequence Diagram.
« on: November 19, 2020, 04:15:32 pm »
It seems the toolbox for sequence diagram doesn't show all possible content

Under "Interaction Relationships" I see only "Message", but not the other three "Self-Message", "Call", "Recursion"

It seems the other things under Interaction are all there.

Any ideas what the problem could be?

Seems there is no way to paste in a screenshot in this board.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: 15.1 Toolbox missing options for Sequence Diagram.
« Reply #1 on: November 19, 2020, 06:28:36 pm »
Hej Anders,


The issue you describe isn't an issue. However, there is in fact such an issue. Just not in sequence diagrams.
Makes sense? :)

The issue you describe is by design. In any toolbox, the connector page only shows some of the connectors used (permitted) in that type of diagram.
What connectors are permitted depends not just on the diagram type, but on the source and target element types as well. That's too complex to put in a toolbox, so Sparx just makes a selection available. The quick linker takes the element types into consideration so that's a better way to create connectors. (But not perfect.)

But this isn't your issue. Your issue doesn't really exist.
Here's how it works.
Iternally, there is only one connector used in sequence diagrams, named Sequence. It's labelled Message in the toolbox, but that's just a label.
A Sequence connector has a Synch property, which can be either Synchronous (default) or Asynchronous. It also has a Kind property, which can be either Call (default) or Signal. Signal is only available if Synch is Asynchronous.

So when you create a new connector, a Call is what you get. To make it a Signal, you have to change two properties.
To create a self-message, simply draw the connector back onto the timeline where it starts.
Recursion isn't a sequence diagram connector. Not sure where you got that from.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.

anders43

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: 15.1 Toolbox missing options for Sequence Diagram.
« Reply #2 on: November 19, 2020, 07:28:41 pm »
Thanks for the clarification, unfortunately the online help showed all three so that was confusing.

Another thing that I dont seem to get working is the Message, when I create a message there is no message dialog that pops up, isnt that supposed to happen or is that too easy?

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: 15.1 Toolbox missing options for Sequence Diagram.
« Reply #3 on: November 19, 2020, 07:38:13 pm »
For some reason, there seems to be no properties dialog for the Sequence/Message connector. (Anymore?)
Instead, you have to look in the properties window.

/U
My theories are always correct, just apply them to the right reality.

anders43

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: 15.1 Toolbox missing options for Sequence Diagram.
« Reply #4 on: November 19, 2020, 07:52:56 pm »
thanks for your help!