# Editor Features

The model tab has some essential features on the toolbar that help in the model-building activity. They are detailed in this section.

### 1. Expand or Collapse

The arrow icons <img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2Fhlt8Y5ecKT0hkXf0Phrv%2Fimage.png?alt=media&#x26;token=72e6687c-367f-41e4-b963-9a7e344b17a5" alt="" data-size="line"> <img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FU00i1Mca6evYlyVfXguI%2Fimage.png?alt=media&#x26;token=c4bc6032-49b7-48d2-b4d7-709f9dce40dd" alt="" data-size="line"> available at the left of each node name can be used to expand/collapse the parent nodes.

To expand/collapse all levels, click on the burger icon <img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FhVtUm7kUrkZvbiZvrjrb%2Fimage.png?alt=media&#x26;token=7a05fe8f-2079-47d5-ba32-d0e2013bfb9d" alt="" data-size="line"> to the left of the **Node Name** column header. This can be used to show/hide the node hierarchy of the model. **Expand All** option expands the entire node structure till the last level of the model while the **Collapse All** option displays only the nodes at the first level.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2F7LTJmoDRpU8cEcaMeCdO%2Fimage.png?alt=media&#x26;token=ae88afcb-7ba4-4f9c-a0ab-e711f0a9441f" alt="" width="375"><figcaption><p><strong>Expand or Collapse Levels</strong></p></figcaption></figure>

### 2. Manage Columns

**Manage Columns** option allows you to decide which columns to be displayed on the grid. There are 9 columns displayed by default, which are Type, Configuration, Time Aggregation, Desired Trend, Scale, Decimals, Prefix, Suffix and Simulation Method.

To modify the grid view, select the **Manage Columns** button on the toolbar. In the pop-up window, you can select and deselect the columns as required.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FaLMiqEx9vFLKq6Uts01Y%2Fimage.png?alt=media&#x26;token=cae0b09a-1321-441c-818e-6838dd0d6f91" alt=""><figcaption><p><strong>Manage Columns</strong></p></figcaption></figure>

### 3. Search

Search for any node on the model by clicking the **Search** icon <img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FnBaRh6TUYctvAWT3s7zJ%2Fimage.png?alt=media&#x26;token=93facf15-6643-41a0-9281-9e37beacba5f" alt="" data-size="line">. After clicking, enter the text using which you want to search the nodes. The search result nodes are highlighted and the results dropdown displays the number of results along with the arrows with which you can navigate to the highlighted nodes.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FPiy0emifowtx5PQFkUdT%2Fimage.png?alt=media&#x26;token=e367dc3f-0bdf-4640-afea-fb6d6e368ea5" alt=""><figcaption><p><strong>Search</strong></p></figcaption></figure>

### 4. Filter

The **Filter** icon <img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FxS7JgFPQlJ58tC7J8aOF%2Fimage.png?alt=media&#x26;token=02d95fc4-bf0d-498c-9e23-a0f5f5da9a43" alt="" data-size="line">can be used to perform a condition-based search on the model. Multiple filter criteria can be provided by the user to perform advanced searches across different node properties. To add multiple criteria, click the **Add Filter** option and choose between AND or OR conditions.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FyWe7jzrPucPo5h64AIPa%2Fimage.png?alt=media&#x26;token=44d64811-c56a-46e3-bdb2-38f8787335a7" alt=""><figcaption><p><strong>Filter</strong></p></figcaption></figure>

**Disable All** can be used to toggle between the states of filter and no filter. **Clear All** will delete all the applied filters.

### 5. Undo and Redo

Undo or redo the recent changes you have made to the model by clicking <img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FR5GoJtaBrkxL1USH4p2h%2Fimage.png?alt=media&#x26;token=901ca000-0004-4959-bf6e-15f1c5607141" alt="" data-size="line"> and <img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FRfOuWlEeqNzNjZzGFVrF%2Fimage.png?alt=media&#x26;token=eb7cbb29-efae-4a76-bcc6-84129bb77be0" alt="" data-size="line"> respectively. Undo is enabled after you start making changes to the model. Redo is enabled after the first undo.

### 6. Notes

Click **Notes** to add any notes or view saved notes about the model.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FS4Iy1RKV9Qaj3RAU4nXt%2Fimage.png?alt=media&#x26;token=f1b6ca75-f64b-4eaf-bd6f-a11f89d41877" alt=""><figcaption><p><strong>Add Notes</strong></p></figcaption></figure>

In the notes window, select the **Edit** button to type your notes and click **Save**.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FBMoyO39bjMXaf0k6H3Wa%2Fimage.png?alt=media&#x26;token=efc62bf0-9937-4be0-9e3f-6304e728a2b1" alt=""><figcaption><p><strong>Click Edit to add notes</strong></p></figcaption></figure>

### 7. Settings

The settings menu contains the global-level options that are used to configure the visual as required. These options are explained in detail in the [Settings](https://docs.valq.com/model/global-settings) section.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FWYD6kXS6VtJiMnfDqhsv%2FSettings.png?alt=media&#x26;token=15d285cc-c233-404f-964f-af7da8f298a8" alt=""><figcaption><p><strong>Click 'Settings'</strong></p></figcaption></figure>

### 8. Keyboard Shortcuts

Grid interactions can also be performed using keyboard shortcuts which are listed under the help icon. Click <img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FRHYaXsEndwr6DdFFmuYi%2Fimage.png?alt=media&#x26;token=aab3bdf8-1ffe-4605-bc0f-37e8e0b50570" alt="" data-size="line"> and the keyboard shortcuts window opens as shown below.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FW6uzaBwY2yHcn6d6oMv0%2FKeyboard%20Shortcuts.png?alt=media&#x26;token=c03ac884-fe47-4162-bb5a-9dad94cc86bd" alt="" width="375"><figcaption><p><strong>Keyboard Shortcuts</strong></p></figcaption></figure>

### 9. Bottom Panel

The bottom panel of the model tab provides necessary information about the model such as node count, preview of the node value, errors on the model, analysis of the model, formula editor and the model name.

Click this icon <img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FKkbn5YFnbygZ60bYNkx6%2Fimage.png?alt=media&#x26;token=a429b86a-6040-4d02-984c-8ccce10218f9" alt="" data-size="line"> to expand or collapse the bottom panel.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FNXpmfoHOqSoMJf3E6lgo%2Fimage.png?alt=media&#x26;token=a1d1fdfa-dfec-4688-a6ed-b94003ae7b3d" alt=""><figcaption><p><strong>Bottom Panel</strong></p></figcaption></figure>

The first one is the **Preview** section which displays the total and period values of the node selected by the user.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2F5h7pUrMyAaXngEJXeGSa%2FPreview.png?alt=media&#x26;token=020633df-f906-42ee-98ec-365be856f6c2" alt=""><figcaption><p><strong>Preview Section</strong></p></figcaption></figure>

The second one is the **Errors** section which shows the count of errors in the model if any. Selecting this icon will list all the error nodes along with the error description. The errors are highlighted on the grid and you can navigate to the error node by clicking on the node name from the error section.

In the below image, you can see the errors and their description at the bottom of the screen in the **Errors** section. The total number of errors is also displayed at the top.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FQ4rzdXMrBhL1ltjQEo0K%2Fimage.png?alt=media&#x26;token=160a0efc-dd92-42dc-8748-bd4320622e61" alt=""><figcaption><p><strong>Errors section</strong></p></figcaption></figure>

The **Analysis** window assesses the model's complexity by analyzing its configuration - type, configuration, dependencies, etc. and shows the complexity index for all the nodes.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FZFIEQe5nCPcRYE8lobAa%2Fimage.png?alt=media&#x26;token=42a81abd-1623-4887-b193-e7a247e2f7b5" alt=""><figcaption><p><strong>Analysis section</strong></p></figcaption></figure>

**Formula Editor** window allows the user to view, enter, or edit the formula contained in the formula type nodes. When you make any changes to the formula, the **Apply** button gets enabled which can be clicked to apply the new formula.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FB5BSTcJSzmFtLfho8rST%2FFormula%20Editor.png?alt=media&#x26;token=a8fc7d66-2bf7-497d-915c-4b1a4e419470" alt=""><figcaption><p><strong>Formula Editor</strong></p></figcaption></figure>

At the bottom left of the panel, you can find the **Total** node count with hidden node count (if any) under the info icon.&#x20;

In case a filter is applied on the grid, the filtered node count is displayed along with the total node count and hidden node count under the info icon.

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2FXFhmmOqck8fWDMYK8xW1%2Fimage.png?alt=media&#x26;token=f437ec65-922e-4b03-9a9e-8a80702a8a7f" alt=""><figcaption><p><strong>Filtered, total and hidden node count</strong></p></figcaption></figure>

The last item on the right side of the status bar is the **Model name with the logo**. Both the model name and the logo can be updated in the [Settings](https://docs.valq.com/global-settings#1.1.-about-model). Alternatively, the model name can be renamed by double-clicking on it.&#x20;

<figure><img src="https://261229348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmXNCTvPRjJZj6UunHBgb%2Fuploads%2Fxxgf0PkgkpmNKIWSR4uU%2Fimage.png?alt=media&#x26;token=f97e50c7-e6d7-46f7-8436-09948f6ccb5a" alt=""><figcaption></figcaption></figure>
