> ## Documentation Index
> Fetch the complete documentation index at: https://resq-dependabot-github-actions-github-actions-478e18be3d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Edge

# Interface: Edge\<T>

Defined in: [graph.ts:33](https://github.com/resq-software/npm/blob/fe2e20ae9db8398a0db1e3218edaabb3cf7004d6/packages/dsa/src/graph.ts#L33)

Edge in the graph

## Type Parameters

### T

`T`

## Properties

### metadata?

> `optional` **metadata?**: `Record`\<`string`, `unknown`>

Defined in: [graph.ts:39](https://github.com/resq-software/npm/blob/fe2e20ae9db8398a0db1e3218edaabb3cf7004d6/packages/dsa/src/graph.ts#L39)

Optional metadata

***

### target

> **target**: `T`

Defined in: [graph.ts:35](https://github.com/resq-software/npm/blob/fe2e20ae9db8398a0db1e3218edaabb3cf7004d6/packages/dsa/src/graph.ts#L35)

Target vertex

***

### weight

> **weight**: `number`

Defined in: [graph.ts:37](https://github.com/resq-software/npm/blob/fe2e20ae9db8398a0db1e3218edaabb3cf7004d6/packages/dsa/src/graph.ts#L37)

Edge weight (default: 1)
