深历史和浅历史有什么区别?它们是如何表示的?在uml中

What is the difference between deep and shallow history? How are they indicated? in uml

深史和浅史有什么区别?它们是如何表示的?

deep-historyshallow-history 类似,只是它表示复合状态的最新叶子状态。

shallow-history显示为带圆圈的字母H。

deep-history显示为带圆圈的H*。

来源:Quantum leaps