Skip to content

waygraph / findOrphanBlocks

Function: findOrphanBlocks() ​

findOrphanBlocks(projectDir): Promise<OrphanBlock[]>

Defined in: src/analysis/graph.ts:80

Blocks the project exports but no flow plays. Read at runtime: every flow's blocks() (nested flows flattened, the Blocks inside a fast-forward or composed step, and the Blocks a branch() routes to) against every scanned Block. Page hubs and the Blocks a Page names (its nav, methods and expects) are not orphans.

Parameters ​

projectDir ​

string

Returns ​

Promise<OrphanBlock[]>

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed