> For the complete documentation index, see [llms.txt](https://docs.geoprismregistry.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.geoprismregistry.com/version/v2.0.0/deployment-and-setup/configuration-based-type-setup/undirected-graph-type-definitions.md).

# Undirected graph type definitions

Put `<undirected-graph>` elements inside an `<organization>` element. In the schema, directed acyclic graph and undirected graph types share one type definition, named `graph`, with the same attributes shown below.

{% hint style="info" %}
This file only creates the graph type. To load the relationships between Geo-Objects, use [Import Edge Data](/version/v2.0.0/curate/import-edge-data.md) or the [API](/version/v2.0.0/external-system-integration/available-apis.md).
{% endhint %}

## 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="/files/OYx5RLKRLWTuLB3NYJyX" %}

{% file src="/files/v4rezLkdXbbfnNSjmJbX" %}
