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.
我创建了一个 Rational Rhapsody 项目,项目类型设置为SysML. 创建项目后,我将HarmonySE配置文件添加到项目中。我还在项目中创建了一个Block Definition Diagram和一个Requirement Diagram。但是我找不到Class Diagram在我的项目中创建的方法。如果我点击工具菜单 - >图表,类图不在图表列表中:
SysML
HarmonySE
Block Definition Diagram
Requirement Diagram
Class Diagram
有人可以建议如何包含Class Diagram在项目中吗?
SysML 中没有类图,因此 Rhapsody 禁止在具有 SysML 配置文件的项目中使用它。如果您想为您的 SW 域使用类图(即一般的 UML),您可以通过 File->Add new project 将 UML 项目添加到您的工作区。该项目可以使用不同的配置文件,因此您可以在那里创建您的经典 UML 图。
简单来说,UML 类是SysML中的一个块。您正在寻找的是块定义图。SysML 中没有类图。