# GraphEdges

Defined in: [packages/graph/src/graph.ts:72](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/graph/src/graph.ts#L72)

Every edge of a graph as three parallel columns: edge `i` runs from `sources[i]` to `targets[i]` with weight `weights[i]`.

`weights` is present exactly when the graph is weighted. The same record is accepted back as `GraphOptions.edges`, so converting between layouts never builds a tuple.

## Properties

### sources

> `readonly` **sources**: `Int32Array`

Defined in: [packages/graph/src/graph.ts:73](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/graph/src/graph.ts#L73)

***

### targets

> `readonly` **targets**: `Int32Array`

Defined in: [packages/graph/src/graph.ts:74](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/graph/src/graph.ts#L74)

***

### weights

> `readonly` **weights**: `Float64Array`<`ArrayBufferLike`> | `undefined`

Defined in: [packages/graph/src/graph.ts:75](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/graph/src/graph.ts#L75)
