The call tree rooted at a node — callees by default, callers with --callers. Depth-bounded and cycle-safe.
Overview
vg tree renders an ASCII call tree rooted at a node. Callees (what the node calls) by default; --callers inverts to show who calls it.
Usage
vg tree <name>
Flag
Default
Description
<name>
—
Root node
--callers
—
Show callers instead of callees
--depth <n>
3
Max depth
--pick <n>
—
Pick the nth candidate when ambiguous
Examples
vg tree UserService
vg tree PaymentProcessor --depth 5
vg tree AuthMiddleware --callers
Example use cases
Expand any use case to watch a live replay of the real @vibgrate/cli running against one of our test repositories. Nothing executes in your browser — these are recordings of actual runs, with the scan time shown as of now.