---
title: "Managing Relationships"
canonical: "https://docs.vaultspeed.com/space/VPD/3013607466/Managing%20Relationships"
format: markdown
---
The editor can also be used to create new or delete existing relationships between object attributes.

# Adding a new relationship

In order to create a new relationship, simply draw a connection between two attributes. 

When you hover over an attribute you will see a small arrow appear at the right side of the attribute.  Click and drag your relationship to the attribute that you want.  Once you reach a primary key field, the line will turn green, indicating that this could be a valid relationship.  When you let go you get a preview of the relationship you are about to create.  If this is correct you can then save this by clicking the 'Save' icon at the top in the toolbar.  Before saving you can, optionally, add a relationship name.  Or just cancel and not save.

![image](media://f4305d5f-6d53-442b-8988-e28ff85f64fb)

# Removing an existing relationship

To remove an existing relationship, click on that relationship to select it, and use the delete button on the properties pane.

![image](media://5b718eb1-7437-415d-b29e-d9dd9244bf87)

You can also remove a relationship using the KEYS tab in the properties pane when the entire object is selected.

![image](media://0a3e4283-9632-4c63-b975-6140be3607eb)

# Links Across Sources

In order to create a relationship between 2 objects from different sources, you start by adding the child object onto the editor.  Then you can use the Source selection box at the top of the Selection pane to select the source where the parent object is part of.

![image](media://53a0dfc9-9e7b-4a30-9cc7-42e7989cc411)

The different colors identify the current source in the dropdown from the other available sources within the project.  After selecting another source, there is an option to select one of its locked releases after which an object from that source can be loaded into the editor. Similar to the basic functionality of the graphical editor, the objects from another source can be dragged to the editor. After an object from another source is added to the canvas, it can be used to create links across sources by drawing a relationship. Drawing a relationship is only possible from current source objects to objects of the other source, not the other way around. Objects from another source are identified by the purple color and contained the schema name in front of the object name.

![image](media://be5209f7-9124-41f2-8c37-6f2e503e07d4)

Details of the objects and their attributes from another source cannot be edited - only relationships can be drawn or deleted.

When you have created your link-across-sources you can use the dropdown at the top of the Selection window again to go back to your original source that you were editing.