docs: Simplify getImpactRadius API call in verification guide

Updates example code to use the simplified two-parameter form of getImpactRadius instead of the options object pattern, making the documentation consistent with current API usage.
This commit is contained in:
Colby McHenry
2026-04-06 13:07:38 -05:00
parent e5663c5952
commit d4258b1651
+1 -1
View File
@@ -235,7 +235,7 @@ async function test() {
const node = results[0].node;
console.log(\`Impact analysis for: \${node.name} (\${node.kind}) — \${node.filePath}\`);
const impact = cg.getImpactRadius(node.id, { depth: 2 });
const impact = cg.getImpactRadius(node.id, 2);
console.log(\`\nAffected nodes: \${impact.nodes.size}\`);
console.log(\`Affected edges: \${impact.edges.length}\`);