# Edge

`import { Edge } from "destack:runtime";`

Runtime edge.

```ds title="Edge"
export struct Edge {
    id: EdgeId;
    kind: EdgeKind;
    name: string;
    from: EntityId;
    to: EntityId;
    labels: [Label];
}
```

[language/library/src/runtime/entity.ds:141:154](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/entity.ds#L141-L154)

## Members

### `id: EdgeId`

Edge identifier.

### `kind: EdgeKind`

Edge kind.

### `name: string`

Edge name.

### `from: EntityId`

Source entity.

### `to: EntityId`

Destination entity.

### `labels: [Label]`

Edge labels.
