UML diagram for function calls

Softice picture Softice · Jan 19, 2010 · Viewed 26.3k times · Source

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?

Answer

Otávio Décio picture Otávio Décio · Jan 19, 2010

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