# combineSubgraphPresentation

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

@shumoku/core · 0.4.2 · function

# combineSubgraphPresentation

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

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

Compose an independent group with its display override.

```
combineSubgraphPresentation(subgraph: TopologySubgraph, presentation?: { direction?: "TB" | "BT" | "LR" | "RL"; style: { fill?: string; labelFontSize?: number; labelPosition?: "top" | "bottom" | "left" | "right"; nodeSpacing?: number; padding?: number; rankSpacing?: number; stroke?: string; strokeDasharray?: string; strokeWidth?: number }; subgraphId: string } | { direction: "TB" | "BT" | "LR" | "RL"; style?: { fill?: string; labelFontSize?: number; labelPosition?: "top" | "bottom" | "left" | "right"; nodeSpacing?: number; padding?: number; rankSpacing?: number; stroke?: string; strokeDasharray?: string; strokeWidth?: number }; subgraphId: string }): Subgraph
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `subgraph` | `TopologySubgraph` | 追加説明はありません。 | `—` |
| `presentation` | `{ direction?: "TB" | "BT" | "LR" | "RL"; style: { fill?: string; labelFontSize?: number; labelPosition?: "top" | "bottom" | "left" | "right"; nodeSpacing?: number; padding?: number; rankSpacing?: number; stroke?: string; strokeDasharray?: string; strokeWidth?: number }; subgraphId: string } | { direction: "TB" | "BT" | "LR" | "RL"; style?: { fill?: string; labelFontSize?: number; labelPosition?: "top" | "bottom" | "left" | "right"; nodeSpacing?: number; padding?: number; rankSpacing?: number; stroke?: string; strokeDasharray?: string; strokeWidth?: number }; subgraphId: string }` | 追加説明はありません。 | `—` |

## 戻り値

```
Subgraph
```

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