Frage

I am trying to display the arguments in a sequence diagram using staruml

Is it possible to display the arguments like this?

      1: saveResult(int value)
War es hilfreich?

Lösung

  1. Go to Toolbox -> Sequence -> Stimulus.
  2. Drag from one object to another to create the stimulus line
  3. On the side you should see the Properties for the call
  4. In Name put the method name, i.e. saveResult
  5. In the Detail section you can specify arguments. Put the arguments there, i.e. int value
  6. If the arguments don't appear then change the properties of the Sequence Diagram. Change MessageSignature to NAMEANDTYPE

enter image description here

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top