# GraphDef

> **Class** in `langgraph_cli`

📖 [View in docs](https://reference.langchain.com/python/langgraph-cli/schemas/GraphDef)

Definition of a graph with additional metadata.

## Signature

```python
GraphDef()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    path: str,
    description: str | None,
)
```

| Name | Type |
|------|------|
| `path` | `str` |
| `description` | `str \| None` |


## Properties

- `path`
- `description`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/6719d34023ced81382223407c665fd0980279eea/libs/cli/langgraph_cli/schemas.py#L560)