正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
如何配置自定义元素构造型 当在模型设计过程中,发现现有的模型图元无法满足设计表达的要求,此时需要添加一些新类型的图元放入到工具箱中来使用。用户可以点击“新建构造型”按钮,来创建新的构造型元素,如图所示。 按上图示例,新增一个示例构型元素,如图所示: 元素类型:此处选择的类型决定图元的外观样式和默认属性。
Development Kit,软件开发工具包。 Layer 层,辅助图形,不属于架构元素,一般是分层设计,例如网络层、应用层,常见的7层网络模型。 Plane 面,同Layer属于辅助图形,不属于架构元素,在嵌入式系统里常见用户面、管理面等。 MS MicroService,微服务
语言,从而指导后续的架构设计工作。元素介绍如下表所示: 表1 领域模型元素介绍 元素名 图标 含义 Domain 域,用于在架构表达、开发管理、对外介绍的过程中,表达系统的层次关系或内部分组,一般由多个服务组成,可以是一级(域)或多级(域/子域,或者域/1级子域/2级子域…)。
如何创建自定义视图和模型 工具支持用户根据业务需要在“工程设置>视图”中新增自定义类型的视图和模型。 点击上图位置中的“新增”按钮,输入新建视图类型的名称,点击“确定”。 点击新视图类型后面的“+”按钮,弹出“创建模型”窗口,输入新模型的名称。 点击确定后,会弹出关联工具箱的提示,点击“确定”。
UML建模 概述 类图 用例图 顺序图 活动图 部署图 组件图 状态机图 包图 对象图 通信图 组合结构图 交互概述图
可修改图的名称、描述、类型、责任人信息。 图锁定 设置锁定后,只有锁定人可编辑图,其它任何均不可编辑和解锁。 复制图 基于当前图以引用、或新元素、或实例化三种方式复制出一张新图。 架构检查 跳转至架构检查页面,检查范围为当前图。 元素列表查询 可按过滤条件查询工程中的元素信息,并将查询结果导出表格或者分享。
概述 UML是Unified Modeling Language缩写,译为统一建模语言,是一种面向对象的可视化建模语言。UML规范定义了两种主要的UML图,分别为结构图和行为图。 结构图 结构图显示了系统及其部件在不同抽象和实现级别上的静态结构以及它们如何相互关联。结构图中的元素
关联,是一种拥有的关系,它使一个类知道另一个类的属性和方法。 部署图一般用于: 嵌入式系统建模(硬件之间的交互)。 客户端/服务器系统建模(用户界面与数据的分离)。 分布式系统建模(多级服务器)。 父主题: UML建模
组件图 组件图显示了复杂软件系统中的各个组件如何相互关联以及如何使用接口进行通信。它们不用于更简单或更直接的系统,元素介绍如下表所示: 表1 组件图元素介绍 元素名 图标 含义 Class 是对象的集合,展示了对象的结构以及与系统的交互行为。 Interface 接口,可以是单个接口,也可以是抽象的一组接口的组合。
顺序图 元素介绍 创建顺序图 创建生命线 绘制消息线 消息线连线规则 自定义激活块 提升或降低消息线层级 绘制组合片段 Diagram Gate使用 父主题: UML建模
创建顺序图 绘制顺序图时,必须保证图的类型为顺序图,否则可能导致无法绘制对应消息线。 已创建的模型图修改图类型具体请参考如何查看和修改模型图类型。 单击新增图。 弹出新建图弹窗选择“UML>顺序图”,填写顺序图基本信息。 父主题: 顺序图
Diagram Gate使用 图表门是一种简单的图形方式,用于指示可以将消息传输到交互片段和从交互片段传出的点。可能需要一个片段来接收或传递消息。在内部,有序消息反映了这一要求,并在片段帧的边界上指示了门。任何与此内部消息“同步”的外部消息必须适当地对应。可以出现在交互图(顺序,
4+1视图建模 概述 用例视图 逻辑视图 开发视图 部署视图 运行视图 架构信息 架构检查
架构信息 架构信息树 架构检查方案 架构检查历史 父主题: 4+1视图建模
消息线连线规则 顺序图连线逻辑: 元素概念: 消息线(Message):同步消息线(Message),异步消息线(Async Message),返回消息线(Reply Message),自连消息线(Self Message),创建消息线(Create Message),终止消息线(Delete
自定义激活块 激活块代表了一段生命周期,激活块内可包含子激活块。激活块的断开代表了其生命周期的终止。 同步消息线(Message)与异步消息线(Async Message)会在其指向的目标上创建一个激活块。如果指向生命线,则在生命线上创建,如果指向某个激活块,则在其内创建一个子激活块。
架构检查 通用检查规则 4+1视图规范一致性检查错误修复指导 父主题: 4+1视图建模
建包需要创建包的角色权限,如果看不到新增包的菜单项,需要申请建包对应的角色权限,权限介绍可参考权限管理,申请对应的角色。 在弹出的窗口中输入新增包的名称后点击“保存”。 父主题: 模型管理
概述 逻辑视图面向系统逻辑分析和设计,描述系统逻辑结构的视图,主要解决系统分析和设计的问题,它描述系统的业务上下文、系统的逻辑分解,以及分解出的逻辑元素间的关系。 模型类别 描述 逻辑模型(必选) 逻辑模型描述系统的逻辑功能模块分解,将系统分解为相应的逻辑功能元素,并描述各逻辑功能元素之间的关系。
逻辑视图 概述 逻辑模型 数据模型 领域模型 功能模型 技术模型 父主题: 4+1视图建模