Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.2 · function

combineSubgraphPresentation

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

Parameters

Parameter Type Description Default
subgraph TopologySubgraph No additional description. —
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 } No additional description. —

Returns

Subgraph

libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-document.ts:360