Normally, development of the application resource model is the first step in the application development process. The resource model contains all APS types and relations between them.
One of APS tools in IDE is the Types Diagram viewer to represent the resource model and type implementation (inheritance) defined in the package.
The following diagram presents the resource model used in the Offer Management demo project.
In this document:
To open the diagram, use one of various ways:
To make initial arrangements, use one of the following ways:
Many operations with objects in the viewer require two steps.
The following operations with the diagram help you to present the resource model in the most convenient format.
Change diagram layout:
For example, with the layout operations, you can separate all types into the following groups:
Change format of objects, for example, shape, border style, color, and fonts.
To regulate level of details, there is a set of APS specific hide-filters that you can switch on/off to hide or show elements of various types.
It is also possible to hide or show an individual element. For this purpose, right-click on the respective element and in the drop-down menu select the Нide element operation. Also, there is the Hide element button in the toolbar.
To return the element back, use the Sirius standard Show/Hide tool.
Note
For detailed explanation on manual operations with diagrams refer to the Sirius diagram editors documentation.
Note
Any changes in the diagram are not saved in type definition.
The diagram is stored in the model.aird
and model.types
files located in the Files
folder.
To edit an APS type presented in the diagram, right-click on the type and select View Source.
Depending on the source of the type, the respective .schema
or .php
file will be opened in
the text editor.