正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
在0层模型上选中Subsystem元素右键“新增图”或者在工程树上的Subsystem元素节点右键“新增图”,在新增图界面图类型仍为逻辑模型。
正确示例 同Node节点下面的不能有同类型同名元素。 错误示例 错误示例场景1:存在同名同类型的部署元素。
Component 组件,可独立加载、部署和运行的二进制代码,采用轻量级通讯机制、松耦合高内聚的软件架构构建单元,部署时不能跨节点类型部署(计算机百科全书:组件是软件系统中具有相对独立功能、接口由契约指定、和语境有明显依赖关系、可独立部署、可组装的软件实体) Interface Required
Component 组件,可独立加载、部署和运行的进制代码,采用轻量级通讯机制、松耦合高内聚的软件架构构建单元,部署时不能跨节点类型部署(计算机百科全书:组件是软件系统中具有相对独立功能、接口由契约指定、 和语境有明显依赖关系、可独立部署、 可组装的软件实体)。
您可以使用工程初始化建好的用例模型或者在其它目录节点右键菜单中“新增图”,创建新的用例模型,如果用例场景较多,可以创建多个用例模型。 画用例模型。
检查结果: 2.1.3逻辑模型同一个树的同一层上不能有同名同类型的元素 详细描述 在逻辑架构信息树上,同一个父元素节点下面,不能存在类型相同,名称也相同的元素。
Deployed To 部署关系是一种依赖关系,在部署图中,指一个工件被部署到一个节点或可执行目标上。 Build From 构建关系,表示当前构建结果从某一代码目录或者代码文件构建而来,仅适于构建元素与代码元素之间的关系,连线方向由构建元素指向代码元素。
Association Node 关联节点。 Part 表示类或接口的运行时实例。 port 端口。 Interface Required Interface和Provided Interface之间可以建立Dependency,表明一个组件需要的接口是由另外一个组件提供的。
在代码模型中不能创建新的逻辑元素,必须要从逻辑模型中引用到代码模型中,引用逻辑元素的操作方式有两种 方式一:直接从工程树上将逻辑元素节点拖入到打开的代码模型图中,选择Link方式。
如何创建自定义视图和模型 工具支持用户根据业务需要在“工程设置>视图”中新增自定义类型的视图和模型。 点击上图位置中的“新增”按钮,输入新建视图类型的名称,点击“确定”。 点击新视图类型后面的“+”按钮,弹出“创建模型”窗口,输入新模型的名称。 点击确定后,会弹出关联工具箱的提示,
如何删除模型工程 进入项目后,切换到架构建模工具首页中,在对应的工程操作栏下点击“删除”,即可将工程删除。 父主题: 工程管理
如何查看和修改模型图类型 当模型图的类型和当前建模内容不匹配时会出现各种各样的错误,应该正确的选择图的类型。 查看图类型 在工程树上右键点击需要查看的图或在打开图鼠标右键菜单“属性”按钮。 即可在属性栏查看当前图的类型。 修改图类型 打开模型图的属性菜单,即可在类型栏下拉框中选择自己需要的视图
如何创建模型工程 登录系统,切换到“架构建模”页签,在页面点击“新建模型工程”。 设置新建模型工程基本信息,保存即可。 父主题: 工程管理
应用场景 多种模型设计 应用:软件设计开发。 场景特点:软件设计和开发过程会有不同的角色参与其中,统一设计建模语言减少沟通成本。 适用场景:支持4+1视图和UML模型在线设计,为用户提供可视化建模语言。 模型协同设计 应用:项目协同设计。 场景特点:工程庞大、周期短的情况,需要投入多人同时开发建模
如何编辑顺序图中的操作符 fragment元素拖入图中会弹出选择框选择需要的操作符类型。 选中alt操作符元素右键菜单>编辑条件,也可点击右下角+。 在弹出的条件编辑窗口中修改/增加/删除条件名称。 父主题: 模型设计
概述 4+1视图是一组相关联模型的集合,从不同的视角,反映不同利益干系人的关注点。通过逻辑、开发、部署、运行4个典型视角描述系统的各个切面,以用例串接和验证各切面设计。 在架构设计说明书模板中的4+1架构视图模型结构如下图所示: 图1 4+1架构视图模型结构图 表1 视图类型与描述
Diagram Gate使用 图表门是一种简单的图形方式,用于指示可以将消息传输到交互片段和从交互片段传出的点。可能需要一个片段来接收或传递消息。在内部,有序消息反映了这一要求,并在片段帧的边界上指示了门。任何与此内部消息“同步”的外部消息必须适当地对应。可以出现在交互图(顺序,时序
如何配置自定义元素构造型 当在模型设计过程中,发现现有的模型图元无法满足设计表达的要求,此时需要添加一些新类型的图元放入到工具箱中来使用。用户可以点击“新建构造型”按钮,来创建新的构造型元素,如图所示。 按上图示例,新增一个示例构型元素,如图所示: 元素类型:此处选择的类型决定图元的外观样式和默认属性
如何创建连线关系 以较常见的用例图说明,其它图的连线和生成图元的操作类同。 快速创建图元:从工具箱中拖动图元移动到图中。 快速连线两种方式: 方式一:直接从图元往图元上连。连线操作技巧:鼠标移到图元上或者选中图元,四边出现小三角图标,点击小三角往另一个图元上拉线,停靠目标图元边上出现绿色小圆圈或者目标图元变色
概述 运行视图面向系统运行,描述系统启动过程、运行期交互的视图,主要解决系统运行期交互,描述各可执行交付件在运行期的交互关系。 表1 运行视图 模型类别 描述 运行模型(可选) 运行模型描述系统运行期间的关系,从进程的维度描述系统运行时的交互过程和关键数据流。 运行模型-顺序图(必选