# GraphDocument

> **Class** in `langchain_neo4j`

📖 [View in docs](https://reference.langchain.com/python/langchain-neo4j/graphs/graph_document/GraphDocument)

Represents a graph document consisting of nodes and relationships.

## Signature

```python
GraphDocument()
```

## Extends

- `Serializable`

## Properties

- `nodes`
- `relationships`
- `source`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-neo4j/blob/f46cc4745b03943780ab71713adb1836adbbd425/libs/neo4j/langchain_neo4j/graphs/graph_document.py#L40)