@shumoku/core · 0.4.2 · function
separateSubgraphPresentation
APIの説明は英語のcanonical sourceを表示しています。
Split group style/direction from facts; discard runtime-derived bounds.
separateSubgraphPresentation(subgraph: Subgraph): { 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: TopologySubgraph } パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
subgraph | Subgraph | 追加説明はありません。 | — |
戻り値
{ 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: TopologySubgraph } libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-document.ts:338