@shumoku/core · 0.4.0 · function
buildHierarchicalSheets
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>> Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
graph | NetworkGraph | Root network graph with subgraphs | — |
rootLayout | LayoutResult | Layout result for the root graph | — |
layoutEngine | LayoutEngine | Engine to layout child sheets | — |
Returns
Promise<Map<string, SheetData>>