## Working in the Model Tree

Generally, you can add, delete, duplicate, move, and rename concepts and Views in the Model Tree. You can also create folders under the main folder groupings in order to group concepts together.

## Drag and drop

Objects are managed with drag and drop in folders. Note that you cannot move concepts from one main folder type to another. For example, Business concepts can only be in the "Business" folder or one of its sub-folders, and relationships can only be in the "Relations" folder or one of its sub-folders.

## Cut and Paste

In addition to drag and drop you can cut and paste objects between folders. After selecting objects in the tree select "Cut" and, after selecting the target folder, select "Paste" to move the objects.

## Deleting Objects from the Model Tree

To delete one or more objects in the Model Tree select them and choose "Delete" from the main "Edit" menu or from the main toolbar.

Note that if a concept that you wish to delete appears in one or more Views you will be warned that it is referenced in those Views. If you then delete the concept from the tree you will also delete it from any Views where it is referenced.

Warning about deleting a concept

## Renaming an Object in the Model Tree

To rename an object in the Model Tree choose "Rename" from the main Edit menu or from the right-click context menu. You can also rename it in the Properties Window.

## Duplicating an Element or View in the Model Tree

To duplicate Elements or Views in the Model Tree select "Duplicate" from the main "Edit" menu or from the right-click context menu. Note that Duplicate Views contain references to the original concepts copied.

## Changing an Object's ArchiMate Concept Type in the Model Tree

An Element or Relation's ArchiMate concept type can be changed in the Model Tree. To change one or more objects' ArchiMate concept type in the Model Tree select the required Elements or Relationships and, from the right-click context menu, select the "Set Concept Type" sub-menu and then select the required ArchiMate concept.

When changing a Relationship type, only valid ArchiMate Relationships for its source and target concepts will be enabled in the context menu.

When changing an Element type, any connected Relationships that would no longer be valid will be changed to Association Relationships. In this case, a confirmation dialog will be shown. An option to add a note in the documentation field of changed Relationships can be enabled in Preferences.

When changing an Element type, if it is changed to a concept belonging to a different ArchiMate layer, it will be moved into the appropriate folder. For example, changing a Business Service to an Application Service will move it from the "Business" folder to the "Application" folder.

Note that changing a concept type will not retain any assigned Specialization, as this will be invalidated.

## Editing Properties for an Object in the Model Tree

To edit the Properties for a selected object in the Model Tree, select the object in the tree and open the Properties Window either by double-clicking the object or from the main "Window" menu or main toolbar.

Each object in the Model Tree has different properties that can be set or viewed in the Properties Window. For more information see the section, The Properties Window.

Note - some properties can only be edited when the object is selected in a View (for example, the fill colour, font or line width).

## Concepts in the Model Tree and Views

Concepts in the Model Tree can be added to any number of diagram Views in the model by dragging them onto the View's canvas (see the section, "Views"). When a concept has been added or used in a View the font used in the Model Tree for that concept is normal. However, if the concept only exists in the Model Tree and is not used in any View it is shown with an italic font:

Italic font shows concepts not used in Views

This makes it convenient to see those concepts that may have become redundant and can be deleted.

## Synchronising Selections in the Model Tree and a View

When selecting concepts in the Model Tree and in diagram Views it is sometimes useful to synchronise the selection between the concepts in both windows. Clicking the "Link to View" button in the Model Tree window enables or disables synchronising selected concepts between the Model Tree and a diagram:

The "Link to View" button

This button is a toggle and can be turned off or on.

Synchronised selection is possible on more than one selected concept.

Note that synchronised selection is only possible if a relevant View is open. Selecting a concept in the Model Tree will not synchronise a selection in a View if that View does not contain that particular concept or concepts.

## Drill Down

Using the Drill Down buttons, "Home", "Back" and "Go Into", it is possible to "drill into" a model or folder. The path to the currently selected object or folder is shown in the Status Bar.

The "Drill Down" buttons

## Hiding Folders

It's possible to hide top-level folders in the Model Tree. A common use case is that the "Relations" folder's contents might get very big and unwieldy. To hide a folder, click the drop-down menu in the Model Tree toolbar and check or uncheck the folder you wish to hide or show in the "Visible Folders" sub-menu. Note that these settings persist between sessions and when closing and re-opening the Model Tree.

Showing or hiding top-level folders