getPathSignature()
getPathSignature(
graph):string
Defined in: process-mining.ts:42
Produce a canonical string representation of a graph's execution path.
Performs a depth-first traversal, emitting type:name for each node.
Children are sorted alphabetically by type:name to ensure deterministic output.
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | ExecutionGraph | The execution graph. |
Returns
string
A →-separated path signature, or "" if the root is unresolvable.
Example
const sig = getPathSignature(graph);
// "agent:main→tool:fetch→tool:analyze"