@shumoku/core · 0.4.0 · function
buildChildSheetGraph
APIの説明は英語のcanonical sourceを表示しています。
Build a sub-sheet `NetworkGraph` for the given subgraph id — the filtered nodes/subgraphs/links plus export-connector nodes that represent cross-boundary links. This is the layout-free half of what `buildHierarchicalSheets` does per subgraph. Callers that want to run their own layout engine (e.g. the interactive editor, which already owns a `computeNetworkLayout` path) can use this directly and skip the `LayoutEngine` indirection. Returns `null` when the requested subgraph isn't in `rootGraph`.
buildChildSheetGraph(rootGraph: NetworkGraph, subgraphId: string): NetworkGraph | null パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
rootGraph | NetworkGraph | 追加説明はありません。 | — |
subgraphId | string | 追加説明はありません。 | — |
戻り値
NetworkGraph | null