There are two ways a rendering usage can be specified for a view:

Rendering views by referencing renderings defined elsewhere in the model

Rendering views via the Textual Editor

To render views via the Textual Editor


  1. In the body of a view for which you want to reference a rendering, declare one of the following:
    1. For an unnamed rendering, declare the render keyword, then follow with the name of the rendering you want to reference.
    2. For a named rendering, declare the rendering keyword, name the new usage, and then reference subset the rendering you want to reference.
  2. Click the Synchronize button.

view vehicleModel {
    render asTreeDiagram; //  unnamed rendering
    rendering asNewTreeDiagram ::> asTreeDiagram; // named rendering
}

Rendering views via the owned rendering usage itself as the renderer 

Rendering views via the Textual Editor

To render views via the Textual Editor


  1. In the Textual Editor, place the cursor within the curly braces of the view's body, declare the rendering keyword, specify the element name, and then the rendering's body.
  2. Click the Synchronize button.

view vehicleModel {
    rendering asCustomTreeDiagram : GraphicalRendering; // // new view-owned rendering usage
}