gpt4 book ai didi

uml - 我可以在 UML 类图中写注释吗?

转载 作者:行者123 更新时间:2023-12-03 23:29:03 24 4
gpt4 key购买 nike

我应该使用什么符号?

最佳答案

以下是统一建模语言规范的摘录。完整规范可在 http://www.omg.org/spec/UML/2.3 获得.

9.5.1 Comment

A comment is a textual annotation that can be attached to a set of elements.

Description

A comment gives the ability to attach various remarks to elements. A comment carries no semantic force, but may contain information that is useful to a modeler. A comment may be owned by any element.

Notation

A Comment is shown as a rectangle with the upper right corner bent (this is also known as a “note symbol”). The rectangle contains the body of the Comment. The connection to each annotated element is shown by a separate dashed line.

Presentation Options

The dashed line connecting the note to the annotated element(s) may be suppressed if it is clear from the context, or not important in this diagram.

alt text

关于uml - 我可以在 UML 类图中写注释吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4003075/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com