如何在 UML class 图中呈现摘要 class

How to present an abstract class in UML class diagram

UML class 图是面向对象设计中的一个得心应手的工具。我目前正在使用它并面临用 UML 呈现抽象 class。我用谷歌搜索,但一无所获。

所以想请教如何在UML class图中表达一个抽象的class,而且一定要能和具体的class区分开

您必须用斜体写 class 名称:

这里 Contexte 是一个 abstract classStructure 是一个“具体" class

P. 99 个规格说:

The name of an abstract Classifier is shown in italics, where permitted by the font in use. Alternatively or in addition, an abstract Classifier may be shown using the textual annotation {abstract} after or below its name.