---
title: "GraphType"
---
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/website.rs -->

Specifies if a graph has directed or undirected edges.

## Variants
#### `Undirected` = 1
The graph has undirected edges.

#### `Directed` = 2
The graph has directed edges.


## Arrow datatype
```
UInt8
```

## API reference links
 * 🌊 [C++ API docs for `GraphType`](https://ref.rerun.io/docs/cpp/stable/namespacererun_1_1components.html)
 * 🐍 [Python API docs for `GraphType`](https://ref.rerun.io/docs/python/stable/common/components#rerun.components.GraphType)
 * 🦀 [Rust API docs for `GraphType`](https://docs.rs/rerun/latest/rerun/components/enum.GraphType.html)


## Used by

* [`GraphEdges`](../archetypes/graph_edges.md)
