# 3.8.5. Undirect graph type definitions

{% hint style="warning" %}
All undirected graph type relationships between Geo-Objects (instance data) must be done through the [GeoPrism Registry API](https://georegistry-api-docs.geoprism.net/#tag/ETL/operation/importEdgeJson).
{% endhint %}

## 3.8.5.1. XSD definition <a href="#xsd-definition.3" id="xsd-definition.3"></a>

```
<xs:complexType name="undirected-graph">
    <xs:attribute name="code" type="xs:string" use="required" />
    <xs:attribute name="label" type="xs:string" use="required" />
    <xs:attribute name="description" type="xs:string" use="optional" />
  </xs:complexType>
```

Example:

```
<undirected-graph
    code="ADJECENT_TO"
    label="Adjecent To (MOH)"
    description="Links locations which are adjecent to each other"/>  
```

Some example files can be accessed here:

{% file src="<https://3732932512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9giVyCrmTxAs33YrSRbJ%2Fuploads%2F98jnMf7qb7Yq8B8hP4kb%2Ftolkien-moh.xml?alt=media&token=3cde8010-a5f5-404d-957d-a566c027daea>" %}

{% file src="<https://3732932512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9giVyCrmTxAs33YrSRbJ%2Fuploads%2FoMmVGrhT8lmR6slzaKZs%2Ftolkien-moha.xml?alt=media&token=6d971428-eef9-44ae-b6c3-fb736b2d3ea9>" %}
