Skip to main content
Back to Tags

Code Graph

14 items tagged with "code-graph"

Filter by type:

Tutorials14

Tutorial

Build a Code Graph from Your Repository with Vibgrate Graph

Map your source code into a queryable graph artifact that powers vg show, vg ask, vg impact, and every other Vibgrate Graph query — incrementally and offline.

Tutorial

Explain Any Code Node with vg show

Use vg show to get the richest single-node view in Vibgrate Graph — what a function or module is, what it calls, and what calls it.

Tutorial

Ask Your Codebase Questions with vg ask

Use vg ask to query the code map in natural language and get a budget-bounded context block ready to paste into any AI assistant — fully offline after first use.

Tutorial

Run Impact Analysis Before a Change with vg impact

Use vg impact to compute the deterministic blast radius of changing a node and, with --tests, surface exactly the tests to run before shipping.

Tutorial

Find the Dependency Path Between Two Modules with vg path

Use vg path to reveal the shortest connection in the call graph between node A and node B, so you can understand how two parts of your codebase reach each other.

Tutorial

Explore the Call Tree with vg tree

Use vg tree to view the depth-bounded, cycle-safe call tree rooted at a node — callees by default, or callers with --callers.

Tutorial

Find Architectural Hubs with vg hubs

Use vg hubs to surface the most-depended-on nodes in your codebase — the high-leverage modules where changes ripple the furthest.

Tutorial

Detect Architectural Smells with vg oddities

Use vg oddities to surface surprising cross-area links in your code graph — the unexpected dependencies that signal architectural smells.

Tutorial

Discover Natural Code Groupings with vg areas

Use vg areas to reveal the natural communities in your codebase — clusters of tightly related modules that map to features and subsystems.

Tutorial

Export Your Code Graph with vg export

Use vg export to output your code map as JSON, GraphML, Graphviz DOT, Neo4j Cypher, Markdown, HTML, or an SBOM for downstream tools and visualization.

Tutorial

Make the Code Graph Committable for Your Team with vg share

Use vg share to install a pre-commit hook, deterministic merge driver, and .gitignore so your code graph stays committable and auto-updating across the team.

Tutorial

Check Code Graph Freshness with vg status

Use vg status to see graph freshness, node and edge counts, staleness, and resolver rungs — comparing the committed graph against your working tree.

Tutorial

Generate Deterministic Facts for AI with vg facts

Use vg facts to produce deterministic, epistemic-typed facts about a node — contract, invariant, and characterization — to ground AI assistants reliably.

Tutorial

Map Tests to Code with vg tests

Use vg tests to see which tests cover a node, find untested nodes nearby with --missing, and run the minimal test command with --run or --exec.