How to make method arguments visible in StarUML diagrams

Javi Pedrera picture Javi Pedrera · May 30, 2013 · Viewed 10.9k times · Source

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)

Answer

mdewitt picture mdewitt · Jun 25, 2013
  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