UML diagram for function calls

Viewed 32007

Which UML diagram is best suited for depicting function calls? Also are there any diagrams where we can also mention the parameters that we pass to the called functions?

2 Answers

Sequence diagrams are appropriate to represent function calls, and you can specify the parameters and returned values as well.

Communication Diagrams are also an option and tend to go into more detail with regards to parameters used within function calls.

Related