正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
另一种从代码模型图中多选复制元素,以引用方式粘贴到构建模型图中。 建立代码元素与构建元素的Build From构建关系。 在步骤2中将代码元素引用到构建模型图后,再从工具箱中构建模型图形库中拖入构建元素,创建与代码元素需要建立关系的构建元素,并建立构建元素与代码元素的Build From关系,同时需要创建一
用例模型 用例模型描述系统的关键用例和交互场景,用于描述系统与外界的交互关系。其中关键用例部分主要描述系统基本的业务用例模型,以及增量版本中影响架构的用例模型;而交互场景描述系统与外部实体这间的复杂的交互关系图,采用UML的顺序图进行描述绘制,以帮助描述隐含的需求和约束,以及系统的验证。元素介绍如下表所示:
责、边界。 用例模型(必选) 用例模型描述系统的关键用例和交互场景,用于描述系统与外界的交互关系。其中关键用例部分主要描述系统基本的业务用例模型,以及增量版本中影响架构的用例模型;而交互场景描述系统与外部实体这间的复杂的交互关系图,采用UML的顺序图进行描述绘制,以帮助描述隐含的需求和约束,以及系统的验证。
r元素与System之间是否通过接口相关联,与接口之间存在使用,实现或者依赖关系连线,如果存在其它类型的连线也不符合规则 ,会列出不符合规则 的ExternalSystem和Actor元素在检查结果列表中。 正确示例 错误示例 错误示例场景1:没有通过接口交互,Actor与system直接用连线表示交互关系。
通信图 通信图元素介绍如下表所示: 表1 通信图元素介绍 元素名 图标 含义 Actor 角色,是与系统交互的人或事物。 Object 封装了状态和行为的具有良好定义界面和身份的离散实体;即对象实例。 Boundary Object 边界对象。 Control Object 控制对象。
Feature 特性。 Function Domain 功能域。 Composition 组合,是整体与部分的关系,但部分不能离开整体而单独存在。 Aggregation 聚合,是整体与部分的关系,且部分可以离开整体而单独存在。 Dependency 依赖,是一种使用的关系,即一个类的实现需要另一个类的协助。
部署关系是一种依赖关系,在部署图中,指一个工件被部署到一个节点或可执行目标上。 Composition 组合,是整体与部分的关系,但部分不能离开整体而单独存在。 Aggregation 聚合,是整体与部分的关系,且部分可以离开整体而单独存在。 CommunicationPath 通信路径。定义两个部署目标能够交换信号和消息的通信路径。
打开关联工程的工程树后,即可把关联工程的中的工程树上的元素拖到当前模型工程中的模型图上。 “关联我的”下面列出的是其它模型工程与当前工程关联的,可以主动解除其它工程与本工程的关联,需要操作人有管理员权限。 父主题: 工程管理
色过多时,不适合在一张上下文模型图中建模时,用户可根据外部角色的分类或者产品的应用场景创建不同的上下文模型。 建立系统与外部角色的关系。 在上下文模型中描述系统与外部角色的关系通过接口体现,不直接使用连线表示;在上下文模型中需要定义外部角色、交互接口、外部系统、系统,其中系统如果
Access 访问依赖关系用一个从客户包指向提供者包的虚箭头表示。 Merge 合并连接器,定义了源包元素与目标包同名元素之间的泛化关系。源包元素的定义被扩展来包含目标包元素定义。当源包元素与目标包内没有同名元素时,目标包元素的定义不受影响。 Import 用虚线箭头从得到访问权限的包指向提供者所在的包。
表示由此代码仓的代码实现此设计对象的功能。连线方向由代码元素指向逻辑元素。 Composition 组合,是整体与部分的关系,但部分不能离开整体而单独存在。菱形箭头为整体所在一边。 Aggregation 聚合,是整体与部分的关系,且部分可以离开整体而单独存在。菱形箭头为整体所在一边。 Dependency
打包工具,在打包过程使用到的工具都可以用该元素表示,以名称作区分。 Composition 组合,是整体与部分的关系,但部分不能离开整体而单独存在。 Aggregation 聚合,是整体与部分的关系,且部分可以离开整体而单独存在。 Dependency 依赖,是一种使用的关系,即一个类的实现需要另一个类的协助。
提升或降低消息线层级 激活块层级表示当前消息任务与前一个消息任务之间是并列还是包含关系,支持对消息线源端升降级。 右键单击消息线,选择提升层级或者降低层级。 提升层级后效果。 父主题: 顺序图
图标 含义 State 对象的生命中的满足一定条件,执行一定操作,或者等待某事件的条件或者情况。 StateMachine 状态机是展示状态与状态转换的图。通常一个状态机依附于一个类,并且描述一个类的实例对接受到的事件所发生的反应。 Fork Join (Fork)复杂转换中,一个
此片段中显示的序列不得发生。 通常用在 consider 或 ignore 片段中。 由于loop与alt类型使用频率较高,故直接放到工具箱中作为可直接使用的元素,与通过fragment设置成loop与alt的意义相同,无任何区别。 在工具画板中选择分段类型,拖拽至画布对应位置,右键单击分段可以进行“编辑条件”。
如何实现图与图之间的关联跳转 两种方式,一种是子图方式,一种是关联图方式。 子图方式:在元素下面建子图或者在项目树上把其它模型图拖到该元素下面构成子图,可以实现双击元素图形上的子图角标,快速打开图形; 当前图元在项目树节点下面有子模型图,点击操作可以打开该图元包含的模型图; 如果
表1 组合结构图元素介绍 元素名 图标 含义 Class 是对象的集合,展示了对象的结构以及与系统的交互行为。 Interface 接口,可以是单个接口,也可以是抽象的一组接口的组合。 圆形接口与矩形接口意义相同,仅形状不同。 Property 特性就是表示传递有关模型元素信息的值的一般性术语。属性具有语义效果,在
数据保护技术 架构建模通过多种数据保护手段和特性,保证通过架构建模的数据安全可靠,如下表所示: 表1 数据保护手段 数据保护手段 简要说明 详细介绍 传输加密(HTTPS) 访问全链路采用HTTPS数据传输方式,保证数据传输安全。 - 个人数据保护 架构建模通过控制个人数据访问权
概述 逻辑视图面向系统逻辑分析和设计,描述系统逻辑结构的视图,主要解决系统分析和设计的问题,它描述系统的业务上下文、系统的逻辑分解,以及分解出的逻辑元素间的关系。 模型类别 描述 逻辑模型(必选) 逻辑模型描述系统的逻辑功能模块分解,将系统分解为相应的逻辑功能元素,并描述各逻辑功能元素之间的关系。
外一个组件提供的。 Composition 组合,是整体与部分的关系,但部分不能离开整体而单独存在。 Aggregation 聚合,是整体与部分的关系,且部分可以离开整体而单独存在。 Realization 实现,是一种类与接口的关系,表示类是接口所有特征和行为的实现。 Dependency