Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.4.2 · function

buildHierarchicalSheets

ソース

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

Build hierarchical sheets from a root graph Creates child sheets for each subgraph with: - Filtered nodes (only those belonging to the subgraph and descendants) - Internal links (both endpoints in subgraph/descendants) - Nested subgraph definitions - Export connector nodes/links for boundary connections

buildHierarchicalSheets(graph: NetworkGraph, rootLayout: LayoutResult, layoutEngine: LayoutEngine): Promise<Map<string, SheetData>>

パラメーター

名前 型 説明 既定値
graph NetworkGraph Root network graph with subgraphs —
rootLayout LayoutResult Layout result for the root graph —
layoutEngine LayoutEngine Engine to layout child sheets —

戻り値

Promise<Map<string, SheetData>>

libs/@shumoku/core/src/libs/@shumoku/core/src/hierarchical.ts:79