# Workspace

### Description:

The workspace is the area where your image is loaded. You can only create labels that are [configured](/documentation/label-configuration/what-is-a-label-configuration.md) for this project.

Use the [entry-list](/documentation/label-mode/entry-list.md#how-to-use) to start drawing a geometry. If you want to cancel the current drawing, press ESC.

You can zoom in and out using the MOUSEWHEEL. You can pan the image by dragging or by using the ARROW-keys. Panning via ARROW-keys and zooming also works while drawing.

### Drawing:

Once you activate an [entry](/documentation/label-mode/entry-list.md#how-to-use) (shortcut or click) click on the image in the workspace to set the first point. Continue drawing until the shape is finished.

#### Requirements:

* Bounding Boxes require **two** points to be finished.&#x20;
* After creating a point geometry, dragging the mouse will increase or decrease its radius. Finish drawing it with the ENTER-key.
* Polygons require at least **three** points to be able to finish. You can keep adding more points and finish with the ENTER-key, double click or choose the first point as next point.
* Lines require at least **two** points to be able to finish. You can keep adding more points and finish with the ENTER-key, double click or choose the first point as next point.
* Image segmentations require also at least **three** points to be valid. Segmentations are exclusive. To edit an already created segmentation choose another segmentation to override the existing one in parts. You also can use the eraser to mark the area as "background".

If there are classifications attached to the geometry, they will open after finishing. If you want to use [AI-assisted labeling](/documentation/label-mode/ai-assisted-labeling.md) you need to create a valid polygon first.

### Editing geometries:

Once you select a geometry (or an entry in the [value-list](/documentation/label-mode/value-list.md)), you may edit it or its attached classifications. Click and drag the points to reposition them. You can move elements by dragging while holding the SHIFT-key.&#x20;

![](/files/-M93g60hYTWmajI3AJOn)

When hovering the edges of Polygons and Polylines a yellow helping point appears. You can Click it to add it as a polygon or polyline point. Remove polygon-points by DOUBLE-CLICKING on them (you still need to have at least three points remaining).

You can also transform the classification type within the context menu. This is limited to types of the same shape.

![Sample context menu](/files/-MB-SWGUfp_7Cmserr0D)

{% hint style="warning" %}
Image segmentations cannot be selected and the context menu is not available.
{% endhint %}

### Deleting geometries:

Select a geometry by clicking on it and press the DEL-key to delete it. You can also select multiple geometries by holding the CTRL-key. Selected geometries can also be deleted through the context menu.

### Hide geometries:

Within the workspace all selected geometries can be hidden through the context menu. You can also hide them through the [entry list](/documentation/label-mode/entry-list.md) or the [value list](/documentation/label-mode/value-list.md).

### Add Comment:

You can add a Comment to the selected Geometry by clicking on add Comment.

![Comment context menu](/files/-MA5oE4rrNEsiZ-PG5mS)

Here you can type in your comment and save it.

### Edit Comment:

If the geometry already has a comment saved. You can edit it by clicking on edit comment in the context menu. Here you can also delete the comment from this geometry.

### Duplicate:

You can duplicate single selected Geometries. If you use the button duplicate in the context menu, the same geometry is created on the bottom right of the selected geometry. You can also duplicate geometries by using the shortcut CTRL+V.&#x20;

To use it, you have to select the geometry to duplicate and then move the mouse to the position you want the duplicate to appear, then press CTRL+V. The duplicated geometry has all of the same properties except for the comment.

Notice that you can only duplicate a single selected geometry. If multiple geometries are selected, the option to duplicate is not available.

### Shortcuts:

| **Shortcut** | **Description**                                                                |
| ------------ | ------------------------------------------------------------------------------ |
| ARROW-Keys   | Pan in workspace                                                               |
| ESC          | While drawing: cancel drawing, otherwise: unselect currently selected geometry |
| DEL          | Delete selected geometry/geometries                                            |
| SHIFT+DRAG   | Move selected object                                                           |
| CLICK        | Select geometry                                                                |
| CTRL+CLICK   | Multiple selection                                                             |
| ENTER        | Finish point or polygon                                                        |
| DOUBLE-CLICK | Delete a point from a polygon                                                  |
| CTRL+V       | Duplicate the selected geometry                                                |

### Related Documents:

{% content-ref url="/pages/-Lzb2ovjOJ5dcU-MGxSK" %}
[Entry-list](/documentation/label-mode/entry-list.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M-KwgwqrEx02oCe4Tyx" %}
[Value-list](/documentation/label-mode/value-list.md)
{% endcontent-ref %}


---

# 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.datagym.ai/documentation/label-mode/workspace.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.
