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[]>