Skip to content

waygraph / discoverGraph

Function: discoverGraph() ​

discoverGraph(projectDir, opts?): Promise<WaygraphGraph>

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

The project's state graph: Checkpoints are nodes, Blocks are edges. Built from the manifest scan, which reads each Block's route at runtime.

Parameters ​

projectDir ​

string

opts? ​

blocksSelect? ​

BlocksSelect

inject? ​

string[]

Returns ​

Promise<WaygraphGraph>

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