# Diagram Editor

## Scroll Diagram

You can scroll diagram by typical mouse wheel or touch pad scroll gestures. Typically mouse wheel scrolls vertical and mouse wheel with `Shift` key scrolls horizontal.

You can also scroll diagram by dragging with mouse middle button (wheel button).

Or you can also scroll diagram by mouse left button dragging while pressing `Control` key (`Command` for Mac) in Diagram Editor.

## Minimap

Minimap shows the entire diagram and the focusing area of the diagram. Clicking a point on the Minimap will scroll the diagram to the clicked point.

To hide or show the Minimap, toggle by press `Ctrl+Alt+M` (`Cmd+Opt+M`)or select **View | Minimap** in Menu Bar or click Minimap icon in **Toolbar**.&#x20;

## Select Views

You can select views only in select mode (Click cursor icon on **Toolbox** or `ESC` key).

To select a single element, click the element with mouse left button.

To select multiple elements, drag an area including elements with mouse left button.

To select additional element, click the element with mouse left button and `Shift` key.

To select additional multiple elements, drag an area including elements with mouse left button and `Shift` key.

## Move Views

You can move the selected views by 1 pixel using the `Arrow` keys. Alternatively, `Shift+Arrow` keys move the selected views by the grid size.

## Zoom In and Out

To zoom in the diagram, press `Ctrl++` (`Cmd++`) or select **View | Zoom In** in Menu Bar.

To zoom out the diagram, press `Ctrl+-` (`Cmd+-`) or select **View | Zoom Out** in Menu Bar.

To set zoom level to actual size, press `Ctrl+0` (`Cmd+0`) or select **View | Actual Size** in Menu Bar.

To fit zoom level to window and scroll to the center of window, press `Ctrl+9` `(Cmd+9)` or select **View | Fit to Window** in Menu Bar.

You can also zoom in-and-out using mouse wheel with `Ctrl` or `Cmd` key.

You can check the current zoom level in **StatusBar**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.staruml.io/user-guide/diagram-editor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
