Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make method arguments visible in StarUML diagrams

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)
like image 967
Javi Pedrera Avatar asked May 30 '13 10:05

Javi Pedrera


2 Answers

  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

like image 178
mdewitt Avatar answered Oct 10 '22 11:10

mdewitt


Try the sequence diagram user manual.

like image 41
tigerswithguitars Avatar answered Oct 10 '22 12:10

tigerswithguitars