# Editing Relationships

This document shows you how to adjust mapped relationships.

## Check Relationship Types

To check the relationship type between existing relationships:

* Hover your cursor over the blue line linking the elements.

!\[]\(../../images/30b95c9-YouDesign Command-edit\_relationships1.png "YouDesign Command-edit\_relationships1.png")

A pop-up appears that describes the relationship between the elements.

## Remap Relationships

To switch an element from downstream to upstream:

1. Select the element. An orange border appears around both circles.
2. Drag the element to the left circle. An assignment pop-up menu appears.
3. Select the relationship type.
4. Select **Done**.

!\[]\(../../images/3a249db-YouDesign Command-edit\_relationships2.gif "YouDesign Command-edit\_relationships2.gif")

The relationship is now remapped. To map from upstream to downstream, follow the same procedure, except drag the element to the right circle.

## Delete Relationships

To delete a relationship:

1. Select the circle beside the element you wish to remove and hold the mouse button down. The circle changes from blue to a trash icon, and the line connecting the element to the main element disappears.

!\[]\(../../images/aacd1cc-YouDesign Command-edit\_relationships3.png "YouDesign Command-edit\_relationships3.png")

2. Drag the circle in any direction away from its starting position. Release the mouse button.
3. A pop-up menu appears. To delete the element, select **Delete**.

!\[]\(../../images/35f5c5a-YouDesign Command-edit\_relationships4.png "YouDesign Command-edit\_relationships4.png")

## Access Elements' Form View

If you want to return to the form view of the primary element:

1. Right-click either the left or right blue circles.

!\[]\(../../images/b50e45a-YouDesign Command-edit\_relationships5.png "YouDesign Command-edit\_relationships5.png")

2. From the pop-up menu select **Open Form**.

If you want to see the form view of a connected element:

1. Right-click on its blue circle.

!\[]\(../../images/03de7d4-YouDesign Command-edit\_relationships6.png "YouDesign Command-edit\_relationships6.png")

2. From the pop-up menu select **Open Form**.

## Map Connected Elements' Relationships

To map relationships for a connected element in an existing diagram:

1. Right-click on its blue circle.

!\[]\(../../images/9ae8850-YouDesign Command-edit\_relationships7.png "YouDesign Command-edit\_relationships7.png")

2. From the pop-up menu select **Jump to**.

   The connected element now becomes the primary element, and you can map upstream and downstream relationships to it.

## Update Organizational Unit

1. Select the **Relationships Field** button.

!\[]\(../../images/daae07c-YouDesign Command-menu\_options2.png "YouDesign Command-menu\_options2.png")

2. Choose a new organizational unit from the Relationship Fields drop-down menu.
3. Select **Confirm** to apply the update.


---

# 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/command/features/relationship-editor/relationship-editor-edit.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.
