Get a node's neighborhood
codetopo_neighborhoodExplore a code graph node's neighborhood by retrieving the subgraph within a set number of hops in both directions, excluding contains/defines edges.
Instructions
The subgraph within a few hops of a node, in both directions (contains/defines excluded).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node id at the center. | |
| depth | No | Hops to walk (default 1). | |
| db_path | Yes | Path to the index database. |