MCPcopy
hub / github.com/colbymchenry/codegraph / getImpactRadius

Method getImpactRadius

src/index.ts:1061–1063  ·  view source on GitHub ↗

* Calculate the impact radius of a node * * Returns all nodes that could be affected by changes to this node. * * @param nodeId - ID of the node * @param maxDepth - Maximum depth to traverse (default: 3) * @returns Subgraph containing potentially impacted nodes

(nodeId: string, maxDepth: number = 3)

Source from the content-addressed store, hash-verified

1059 * @returns Subgraph containing potentially impacted nodes
1060 */
1061 getImpactRadius(nodeId: string, maxDepth: number = 3): Subgraph {
1062 return this.traverser.getImpactRadius(nodeId, maxDepth);
1063 }
1064
1065 /**
1066 * Find the shortest path between two nodes

Callers 3

graph.test.tsFile · 0.45
extraction.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected