[**European Parliament MCP Server API v1.3.9**](../../../README.md)

***

[European Parliament MCP Server API](../../../modules.md) / [utils/graphAlgorithms](../README.md) / WeightedEdge

# Interface: WeightedEdge

Defined in: [utils/graphAlgorithms.ts:23](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/utils/graphAlgorithms.ts#L23)

Simple weighted undirected edge representation.

## Properties

### sourceId

> **sourceId**: `string`

Defined in: [utils/graphAlgorithms.ts:25](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/utils/graphAlgorithms.ts#L25)

Stable identifier of the first endpoint.

***

### targetId

> **targetId**: `string`

Defined in: [utils/graphAlgorithms.ts:27](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/utils/graphAlgorithms.ts#L27)

Stable identifier of the second endpoint.

***

### weight

> **weight**: `number`

Defined in: [utils/graphAlgorithms.ts:29](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/utils/graphAlgorithms.ts#L29)

Edge weight in `[0, 1]`.
