主要内容

创建自定义视图

Create custom viewpoints of an architecture model

System models tend to be large and complex. You can create a custom subset of components from architecture models by filtering model elements based on criteria such as stereotypes, properties, and requirement links. This custom subset is called an architecture view and is a simplified way of working with complex systems. You can use views to focus on certain parts of the architectural design and create operational, functional, or physical views for analysis.

Use architectural spotlight views to analyze component dependencies and hierarchy.

Use queries to define custom viewpoints on the architecture model. View filters rely on the constraints defined by queries. Define queries programmatically.

Define architecture views and hierarchical views in the建筑视图画廊. Hierarchical views show the same set of components in tree form.

Classes

expand all

systemcomposer.view.View 体系结构视图
SystemComposer.View.ElementGroup 体系结构视图element group

Functions

expand all

OpenViews Open Architecture Views Gallery
createView 创建体系结构视图
getView Find architecture view
Deleteview Delete architecture view
modifyQuery 修改架构查看查询和属性分组
runQuery Re-run architecture view query on model
removeQuery Remove architecture view query
添加 将组件添加到视图元素组
删除 删除从元素的视图组件
createSubGroup Create subgroup in element group of view
getSubGroup 在元素视图中获取子组
deleteSubGroup Delete subgroup in element group of view
寻找 Find architecture model elements using query
AnyComponent Create query to select all components in model
Property 创建查询以选择对象属性或元素刻板印象属性的非评估值
PropertyValue Create query to select property from object or stereotype property and then evaluate property value
HasStereotype Create query to select architectural elements with stereotype based on specified sub-constraint
IsStereotypeDerivedFrom Create query to select stereotype derived from qualified name
HasPort Create query to select architectural elements with port on component based on specified sub-constraint
HasInterface Create query to select architectural elements with interface on port based on specified sub-constraint
HasInterfaceElement Create query to select architectural elements with interface element on interface based on specified sub-constraint
isinrange Create query to select range of property values

Tools

建筑视图画廊 Create and manage architecture views and sequence diagrams

Topics