Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
哪个 UML 图最适合描述函数调用?还有任何图表我们还可以提及我们传递给被调用函数的参数吗?
序列图适合表示函数调用,您也可以指定参数和返回值。
通信图也是一种选择,并且倾向于更详细地说明函数调用中使用的参数。