# combineLinkPresentation

Canonical: https://docs.shumoku.dev/en/library/api/combineLinkPresentation
Language: en

@shumoku/core · 0.4.2 · function

# combineLinkPresentation

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-document.ts#L327)

Compose an independent connection; style does not change endpoints or physical data.

```
combineLinkPresentation(link: TopologyLink, presentation?: { linkId: string; style: { minLength?: number; opacity?: number; stroke?: string; strokeDasharray?: string; strokeWidth?: number } }): Link
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `link` | `TopologyLink` | No additional description. | `—` |
| `presentation` | `{ linkId: string; style: { minLength?: number; opacity?: number; stroke?: string; strokeDasharray?: string; strokeWidth?: number } }` | No additional description. | `—` |

## Returns

```
Link
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-document.ts:327`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-document.ts#L327)
