MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / getImpactRadius

Method getImpactRadius

src/index.ts:3252–3254  ·  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, options: ImpactOptions = {})

Source from the content-addressed store, hash-verified

3250 * @returns Subgraph containing potentially impacted nodes
3251 */
3252 getImpactRadius(nodeId: string, maxDepth: number = 3, options: ImpactOptions = {}): Subgraph {
3253 return this.traverser.getImpactRadius(nodeId, maxDepth, options);
3254 }
3255
3256 /**
3257 * Find the shortest path between two nodes

Calls

no outgoing calls

Tested by 5

impactOfFunction · 0.36
impactOfFunction · 0.36
impactOfFunction · 0.36
dependentsFunction · 0.36
impactOfFunction · 0.36