Skip to content

waygraph / findBlockPath

Function: findBlockPath() ​

findBlockPath(graph, fromTag, toTag): string[] | null

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

Shortest Block-name path between two Checkpoint tags using discoverGraph edges. NavBlocks (from: "*") count from any state.

Parameters ​

graph ​

WaygraphGraph

fromTag ​

string

toTag ​

string

Returns ​

string[] | null

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