# Remap a relationship

When a relationship is connected on the wrong side — upstream when it should be downstream, or vice versa — you don't delete and recreate it. You drag the element to the other connection point.

***

## Step by step

1. Click the element you want to move. An **orange border** appears around both circles to show valid drop targets.

   <figure><img src="https://files.readme.io/8d08aa2-edit_rel4.png" alt="Selected element with both connection points highlighted"><figcaption></figcaption></figure>
2. Drag the element to the other circle:
   * **Right → Left** to switch from downstream to upstream.
   * **Left → Right** to switch from upstream to downstream.
3. The relationship-type popup appears. Pick the relationship type for the new direction.
4. Click **Done**.

The relationship is now remapped. The change is staged until you commit.

***

## What's next

* [Delete a relationship](/freelucy/work-in-the-app/delete-relationship.md)
* [Commit your changes](/freelucy/work-in-the-app/commit-changes.md)


---

# 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.ins-pi.com/freelucy/work-in-the-app/remap-relationship.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.
