7

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)
jordanhill123
  • 4,142
  • 2
  • 31
  • 40
Javi Pedrera
  • 2,075
  • 4
  • 21
  • 29

2 Answers2

16
  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

Hash
  • 4,647
  • 5
  • 21
  • 39
mdewitt
  • 2,526
  • 19
  • 23
1

Try the sequence diagram user manual.

tigerswithguitars
  • 2,497
  • 1
  • 31
  • 53