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

Method getImpactRadius

src/index.ts:3152–3154  ·  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

3150 * @returns Subgraph containing potentially impacted nodes
3151 */
3152 getImpactRadius(nodeId: string, maxDepth: number = 3, options: ImpactOptions = {}): Subgraph {
3153 return this.traverser.getImpactRadius(nodeId, maxDepth, options);
3154 }
3155
3156 /**
3157 * 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