# Edge

> **Class** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/runnables/graph/Edge)

Edge in a graph.

## Signature

```python
Edge()
```

## Extends

- `NamedTuple`

## Properties

- `source`
- `target`
- `data`
- `conditional`

## Methods

- [`copy()`](https://reference.langchain.com/python/langchain-core/runnables/graph/Edge/copy)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/1c3a4186cf2ba4f28face59118ac7786de009f91/libs/core/langchain_core/runnables/graph.py#L65)