@shumoku/core · 0.4.2 · function
combineSubgraphPresentation
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