Skip to main content
added 383 characters in body
Source Link
Red Beard
  • 3.5k
  • 1
  • 16
  • 17

I guess that the activity diagram would be the most pertinent.

Sequence diagram is dedicated to model set of method call, you can not model a simple thing as a = b+c for exemple

State diagram focuses on the state of your object. For me it is out of your scope.

Activity diagram allows you to model method call and treatment on variable as read a value...

Of course you can combine them for example you can use sequence and activity.

I guess that the activity diagram would be the most pertinent.

I guess that the activity diagram would be the most pertinent.

Sequence diagram is dedicated to model set of method call, you can not model a simple thing as a = b+c for exemple

State diagram focuses on the state of your object. For me it is out of your scope.

Activity diagram allows you to model method call and treatment on variable as read a value...

Of course you can combine them for example you can use sequence and activity.

Source Link
Red Beard
  • 3.5k
  • 1
  • 16
  • 17

I guess that the activity diagram would be the most pertinent.