Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Weaver - Code base in GraphNew to Visual Studio Code? Get it now.
Weaver - Code base in Graph

Weaver - Code base in Graph

YuSuBH

|
1 install
| (0) | Free
Interactive architecture and file dependency graph for JavaScript and TypeScript projects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dependency Graph (weaver)

Visual Studio Marketplace Version License: MIT

An interactive, high-performance architecture and file dependency graph for JavaScript and TypeScript projects inside VS Code.

Visualize module relationships, detect circular dependencies, calculate blast radiuses for refactoring, inspect imports, and navigate your codebase with confidence.


What It Does

  • Interactive Architecture Map: Explore your repository's structure rendered with deterministic, layered layout algorithms (ELK).
  • Smart Directory Folding: Aggregates hundreds of files into clean, readable directory clusters, avoiding tangled hairballs while keeping full structural accuracy.
  • Drill-down Panel Expansion: Expand any folder directly on canvas to view its constituent files with virtualized scrolling.
  • Cycle Detection: Identify circular dependency loops using Tarjan's Strongly Connected Components (SCC) algorithm.
  • Blast Radius Analysis: See the exact transitive set of files impacted when modifying any single module.
  • Dependency Chains: Find the shortest import path connecting any two files in your codebase.
  • Framework & SFC Aware: Out-of-the-box routing and role recognition for Next.js, Nuxt, Angular, NestJS, Vite/React, Vue (.vue), and Svelte (.svelte).
  • Responsive Background Execution: AST parsing runs in a dedicated Node worker thread with disk caching and incremental live file watching.

Screenshots

Graph Overview Canvas

image *(Interactive dependency graph showing folded directories and inter-module edges)*

Folder Expansion & Circular Dependency Highlighting

image *(Expanded directory panel with file-level metrics, fan-in/fan-out counts, and cycle tracing)*

Commands

Access these commands from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):

Command Title Description
weaver.show Dependency Graph: Show Analyzes the current workspace folder and opens the interactive graph panel.
weaver.refresh Dependency Graph: Refresh Re-analyzes the workspace and refreshes the current graph view.
weaver.showHere Show Dependency Graph Here Analyzes a specific directory selected from the VS Code Explorer context menu.
weaver.clearCache Dependency Graph: Clear Cache Clears the .weaver/cache.json disk cache for cold re-indexing.

Keyboard Shortcuts

Shortcut (Win / Linux) Shortcut (macOS) Action When
Ctrl + Alt + D Cmd + Alt + D weaver.show !terminalFocus

Customizing Shortcuts

The default keybinding Ctrl+Alt+D (Cmd+Alt+D on macOS) does not clash with standard VS Code shortcuts and is guarded by !terminalFocus to prevent accidental triggers in the integrated terminal.

You can customize this keybinding anytime:

  1. Open Keyboard Shortcuts (Ctrl+K Ctrl+S or Cmd+K Cmd+S).
  2. Search for Dependency Graph: Show or weaver.show.
  3. Click the edit icon to assign your preferred keybinding (e.g. Ctrl+K D or chord of your choice).

Settings

Customize the extension via VS Code Settings (Ctrl+, or Cmd+,), search for Dependency Graph:

Setting Type Default Description
weaver.maxFileSizeKB integer 1024 Maximum file size in KB to analyze. Larger files are skipped to preserve performance.
weaver.extraIgnoreGlobs string[] [] Additional glob patterns or directory names to ignore during dependency analysis.
weaver.foldTarget integer 24 Target number of folded directory nodes displayed in the top-level view (range: 8–60).

Privacy & Security Statement

  • 100% Local & Static Analysis: All AST parsing, import resolution, and graph calculations occur completely locally on your machine.
  • No Code Execution: Your code is never executed, evaluated, imported, or run in a runtime environment. Analysis is purely syntactic and structural.
  • Zero Network Calls: Neither the extension host nor the webview visualization ever makes external network calls. No telemetry, usage data, or source code is transmitted anywhere.
  • AI Off by Default: Any optional or future AI assistance capabilities remain strictly disabled by default.

Publishing

To publish the extension to extension registries:

Visual Studio Marketplace

# Requires VSCE_PAT environment variable or pass --pat <token>
pnpm publish:vsce

Note: Tokens can be created in Azure DevOps under Marketplace (Manage) scope.

Open VSX Registry (Eclipse Theia / VSCodium / Gitpod)

# Requires OVSX_PAT environment variable or pass -p <token>
pnpm publish:ovsx

Note: Tokens can be generated at open-vsx.org under Account Settings.


License

This project is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft