Using the Model View Tab

Topics:

The Model View tab consists of a graphical tool component and a palette, as shown in the following image.

Graphical Tool

Topics:

The Input Data Model Editor provides you with a graphical tool for laying out your subjects. The root subject is displayed in green and other subjects are displayed in gray on the graph.

The width and length of the graph changes in relation to the quantity of subjects and their relationship. Subject squares do not overlap. Horizontal and/or vertical scrolls appear when the graph is too big to be displayed in a window.

When the name of the subject does not fit into the standard length of the subject field, the text is truncated and an ellipsis (...) is displayed instead of the remaining characters. When the mouse pointer pauses over the field, the whole subject name is displayed.

When changes are made with subjects (add/rename/remove), they are immediately reflected on the graph (without reopening the Input Data Mode Editor).

Double-click a subject in the graph to open the Subject Editor.

Context Menu Options For Subjects in the Graphical Tool

When you right-click a subject, a context menu appears. This menu is almost identical to the menu in Omni Designer Project Explorer for the current object. It consists of the following options:

  • New Subject
  • Open
  • Show in Project Explorer
  • Cut
  • Copy
  • Copy Single Element
  • Paste
  • Delete
  • Link Subject

The Rename option works slightly different from the Omni Designer Project Explorer option. When it is selected, the cursor is set in the Subject field and you can edit the name of the subject.

In the graph, the only option not available in the context menu of Omni Designer Project Explorer is Show in Project Explorer. After selecting this option, the appropriate node is selected in the subject of the graph in Omni Designer Project Explorer.

You can go to the context menu of the subject to see how other options work.

Moving Subjects in the Graphical Tool

Subjects can change parents using the drag-and-drop feature. The subject is moved (or dragged) together with all their children. However, the root subject cannot be moved to another place. Additionally, a parent subject cannot be moved to its child.

Several selected subjects cannot be moved simultaneously.

Subjects can be moved from one Input Data Model to another (even to the Input Data Model of another project). However, two Input Data Model Graph editors need to be opened side-by-side at the same time. After moving the subject to another Input Data Model field, the Reference and Inherited data types are updated. The Reference values are changed to empty. Promotions for subjects moved to another Input Data Model are deleted.

Palette

The palette is an expandable component of the Input Data Model Editor. It is located on the right side of the editor as a separate section. The Objects section of the palette contains Subject and Link Subject icons. The palette can be hidden by clicking the arrow on the left border of the palette section.

You can drag-and-drop the Subject icon to add a new subject element as a child of a root or simple subject. Once the subject is added to the Model View, a new unnamed Subject is represented in the graph, and will be added to Omni Designer Project Explorer in the same location as the project tree.