正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
部署视图 概述 交付模型 部署模型 父主题: 4+1视图建模
运行视图 概述 运行模型 运行模型(顺序图) 运行模型(活动图) 父主题: 4+1视图建模
用例视图 概述 上下文模型 用例模型 父主题: 4+1视图建模
架构检查 通用检查规则 4+1视图规范一致性检查错误修复指导 父主题: 4+1视图建模
通用检查规则 架构基础信息检查 架构视图模型检查规则 父主题: 架构检查
顺序图 元素介绍 创建顺序图 创建生命线 绘制消息线 消息线连线规则 自定义激活块 提升或降低消息线层级 绘制组合片段 Diagram Gate使用 父主题: UML建模
元素名 图标 含义 Class 是对象的集合,展示了对象的结构以及与系统的交互行为。 Interface 接口,可以是单个接口,也可以是抽象的一组接口的组合。 圆形接口与矩形接口意义相同,仅形状不同。 Property 特性就是表示传递有关模型元素信息的值的一般性术语。属性具有语义效果,在
Interface 接口,可以是单个接口,也可以是抽象的一组接口的组合。 圆形接口与矩形接口意义相同,仅形状不同。 Provided Interface 暴露接口。提供接口动作,和Required Interface之间建立Association,表明一个组件提供另外一个组件需要的接口。 Required
tor实现(Realization连线)接口,并由System使用(usage连线)该接口;或者由System实现(Realization连线)接口,由ExternalSystem和Actor使用(usage连线)该接口;其中使用关系可以由依赖Dependency连线关系代替。 检查范围
在包下新建逻辑模型图 您可以在包、元素下面建图,也可以在起始页建图,此处以在包下新建逻辑模型图为例,步骤如下: 在左侧工程树打开模型工程根节点Test1下的“逻辑视图>逻辑模型”,单击右侧更多操作或右键打开包菜单,单击“新增图”。 在“选择图类型”页面选择 “4+1 视图>逻辑视
组合,是整体与部分的关系,但部分不能离开整体而单独存在。 Aggregation 聚合,是整体与部分的关系,且部分可以离开整体而单独存在。 Realization 实现,是一种类与接口的关系,表示类是接口所有特征和行为的实现。 Dependency 依赖,是一种使用的关系,即一个类的实现需要另一个类的协助。
每种模型只能启用一种默认方案,但可以配置多种架构方案规则,在查询架构信息树时可以选择不同的方案,按不同的方案生成不同的信息树,同一工程不同分支共用的是同一套架构方案及启用默认方案。 有些必选模型是带有默认方案,默认方案不可修改,可供参考,也可以导出默认方案,修改方案名称后,再导
用例,代表的是一个完整的功能。 Actor 角色,是与系统交互的人或事物。 Boundary 边界,可以放入元素,形成一个模块。 Realization 实现,是一种类与接口的关系,表示类是接口所有特征和行为的实现。 Use 使用关系,指示一个元素需要另一个元素执行一些交互。在用例图中,表示建模参与者如何使用系统功能。
测试用例,是原型的用例元素。通过将元素属性和功能应用于由另一个元素或更确切地说是元素集表示的功能的测试,您可以使用它来扩展“测试”窗口的功能。 Actor 角色,是与系统交互的人或事物。 Boundary 边界,可以放入元素,形成一个模块。 Collaboration 是对对象和链总体安排的一个描述,
架构检查历史 在架构检查历史中可以查看过往检查的历史记录,默认打开是当前用户的检查记录。在“我的检查”下拉选项中,可以切换显示出所有人的检查结果,也支持按时间过滤查询检查的记录。 在检查历史记录下“查看”可以打开检查规则结果通过情况。 在是否通过详情下“查看”具体元素定位‘修复指导和关系查询。
如何配置架构规则方案 架构配置,只有管理员可以配置,可设置模型工程视图类型,以及配置对应视图类型下面的架构图元关系和连线规则。 每种模型图是可以配置架构层级关系,下面以4+1视图下逻辑视图中的逻辑模型为例作简单说明,其它类型的模型图配置方法可参考此处,如图所示。 4+1视图中逻辑
架构建模(CodeArts Modeling)是一款集可视化、协同、规范、复用于一体的在线架构设计建模服务,不仅可以帮助用户运用UML标准的模型图来设计系统架构,还可以实现多人实时编辑和多浏览器实时同步渲染,提高研发对系统的设计效率和团队的协同效果。
在逻辑模型图上创建出来的逻辑元素与接口连线之间的连线关系; 引用到逻辑模型中的逻辑元素(包含关联空间中的引用的逻辑元素)与接口之间的连线关系; 接口只指实体接口,即Interface元素,暴露接口Provided Interface和请求接口Required Interface 非实体接口,不在检查目标中;
说明 opt 选择 包含一个可能发生或可能不发生的序列。 可以在临界中指定序列发生的条件。 alt 抉择 包含一个片段列表,这些片段包含备选消息序列。 在任何场合下只发生一个序列。 可以在每个片段中设置一个临界来指示该片段可以运行的条件。 else 的临界指示其他任何临界都不为 True
”表示。 Diagram Gate 表示图的门口,用法是可以链接到另外一张图。 State/Continuation 状态常量是生命线的约束,运行时始终为true。 延续虽与状态常量有同样的标注,但是被用于复合片段,并可以延伸跨越多条生命线。 父主题: 顺序图