> For the complete documentation index, see [llms.txt](https://docs.imerit.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imerit.net/labeling/labeling-tools/relation/single-relation.md).

# Single Relation

The Single Relation labeling tool allows you to create a relation between two annotations.

{% hint style="info" %}
The Single Relation tool is supported across the Audio, Image, Video, DICOM, PDF, and Text labeling editors.
{% endhint %}

![](/files/QIy4FgCW6tu3FbyKYhva)

{% hint style="info" %}
Single relations are not visible unless the user is hovering over them with the mouse cursor.
{% endhint %}

## How to add a Single Relation tool to your project <a href="#how-to-add-a-bounding-box-tool-to-your-project" id="how-to-add-a-bounding-box-tool-to-your-project"></a>

From the project’s *Settings* tab, enter the *Label Set* section.

Click on *Add Category*. From the list that appears, click on *Single Relation*.

A new row will appear named *Single Relation*. Click on it to expand it.

![](/files/vDjOsuGCEksXVQDT4pD1)

Give your single relation tool a title and description.

Enable the *Required* toggle if you want to force labelers to create a single relation for each asset. When the toggle is disabled, labelers will be able to save and move to the next asset without creating the single relation.

### How to Draw a Single Relation <a href="#how-to-draw-a-bounding-box" id="how-to-draw-a-bounding-box"></a>

Click on the label where you’d like the single relation to start. Click on the second label where you’d like the relation to end. Press N on your keyboard to finalize the relation.

<figure><img src="/files/b33pPtKntFCSS0HxoTqA" alt="" width="557"><figcaption></figcaption></figure>

After having created the relation, you can change its direction by clicking on the <img src="/files/Ix9z7a7GAcxlsKypN27w" alt="" data-size="line"> small arrow inside the relation's box.

#### Single Relation Directions

* **Forward:** the first label points at the second label.
* **Backward:** the second label points at the second label.
* **Bidirectional:** The labels point at each other.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.imerit.net/labeling/labeling-tools/relation/single-relation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
