# RelationshipDirection

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.RelationshipDirection/

Relationships direction enumeration.

- **Full name:** `MFiles.RelationshipDirection`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-RELATIONSHIP_DIRECTION_UNSPECIFIED"></a>`RELATIONSHIP_DIRECTION_UNSPECIFIED` | 0 | Unspecified. |
| <a id="v-RELATIONSHIP_DIRECTION_FROM"></a>`RELATIONSHIP_DIRECTION_FROM` | 1 | Relationships FROM the specified object. |
| <a id="v-RELATIONSHIP_DIRECTION_TO"></a>`RELATIONSHIP_DIRECTION_TO` | 2 | Relationships TO the specified object. |

<a id="used-in-fields"></a>

## Used in fields

- [`RelationshipData.direction`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.RelationshipData/index.md#f-direction): Values: From / To.
