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

Method getContext

src/index.ts:3121–3123  ·  view source on GitHub ↗

* Get the context for a node (ancestors, children, references) * * Returns comprehensive context about a node including its containment * hierarchy, children, incoming/outgoing references, type information, * and relevant imports. * * @param nodeId - ID of the focal node * @retu

(nodeId: string)

Source from the content-addressed store, hash-verified

3119 * @returns Context object with all related information
3120 */
3121 getContext(nodeId: string): Context {
3122 return this.graphManager.getContext(nodeId);
3123 }
3124
3125 /**
3126 * Traverse the graph from a starting node

Callers 3

svgToPngFunction · 0.45
graph.test.tsFile · 0.45
foundation.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected