# separateLinkPresentation

Canonical: https://docs.shumoku.dev/ja/library/api/separateLinkPresentation
Language: ja

@shumoku/core · 0.4.2 · function

# separateLinkPresentation

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

APIの説明は英語のcanonical sourceを表示しています。

Split connection style from facts. Unstyled idless links are preserved.

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

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `link` | `Link` | 追加説明はありません。 | `—` |

## 戻り値

```
{ link: TopologyLink; presentation?: { linkId: string; style: { minLength?: number; opacity?: number; stroke?: string; strokeDasharray?: string; strokeWidth?: number } } }
```

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