Skip to content
프로젝트

소개

Graph-It-Live VS Code Extension

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
+1

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Graph-It-Live

Graph-It-Live logo

See your codebase as a graph — in VS Code, your CLI, and your AI assistant.

Version VS Code installs Open VSX Open VSX Downloads npm License

Graph-It-Live analyzes imports, symbols, calls, cycles, unused exports, and change impact. Use it as a VS Code extension, a standalone CLI, or an MCP/native tool provider for GitHub Copilot and other AI clients. Analysis runs locally and returns evidence from your codebase.

The 75-second tour (click to play, sound on)

Graph-It-Live 75-second tour: the dependency graph in VS Code, coloured by import clusters

It walks through the file graph with Louvain import clusters, the Dependency Structure Matrix, boundary rules declared in graphit.architecture.json, and an AI agent fixing a rule violation through the Graph-It-Live MCP server.

More videos:

Table of Contents

Quick start

VS Code extension

Requires VS Code 1.101 or later. Install from the VS Code Marketplace or Open VSX, open a project, then run Graph-It-Live: Show Dependency Graph from the Command Palette. Click a file to open it, double-click it for the Symbol View, or use Show Call Graph for cross-file calls.

Standalone CLI

npm install -g @magic5644/graph-it-live   # or: npx @magic5644/graph-it-live scan
graph-it init                              # guard today's architecture, list quick wins
graph-it                                   # interactive REPL

graph-it --help lists every command. See the CLI reference for options, output formats, and the REPL.

MCP server and AI assistants

graph-it serve

In VS Code, enable graph-it-live.enableMcpServer, or use the native Copilot tools that ship with the extension. Per-client setup is in AI integrations.

Features

File graph, Symbol View and Live Call Graph answer who imports a file, which functions call each other in a file, and which symbols call each other across files. Details for each view: Views and supported languages.

File dependency graph. File-to-file imports, circular dependencies, reverse dependencies; type-only cycles are drawn apart from runtime cycles. More

Graph-It-Live dependency graph

Symbol View. Functions, classes, variables, callers, and recursive calls inside one file. More

Graph-It-Live Symbol View

Live Call Graph. Cross-file callers and callees, depth 1 to 5, grouped by folder, with recursion highlighted. More

Graph-It-Live live call graph

Architecture view. Units in layers with their roles, edges and cycles, a dependency structure matrix, and flow and sequence diagrams of one symbol. Tour · Guide

Architecture view of Graph-It-Live itself: its 8 declared elements as units in 5 layers (tooling on top; extension, cli and mcp applications; analyzer and webview; shared at the bottom), all 9 rules passing; the assets unit has a dashed border because its library role is inferred

Architecture rules. Declare what may import what in graphit.architecture.json; graph-it check-architecture gates CI, and graph-it init writes the rules from today's imports. More

Architecture view Rules panel: clicking a rule lists its violating file pairs, clicking a file opens it at the import

Decorators. graph-it decorators --decorator Injectable lists the TS/JS decorators on classes and methods, with the declaring module behind aliases and barrels, and their arguments; --require UseGuards fails CI when an eligible declaration lacks one. More

Unused dependencies and impact analysis. Hide or dim unused imports, detect unused exports, trace execution, and find the callers a signature change affects. More

Unused dependencies hidden from the graph

AI integrations

The portable Agent Plugin bundles the MCP server and five skills. Install it, or the MCP server alone, with the client you use:

Client Setup
Claude Code claude plugin marketplace add magic5644/Graph-It-Live, then /plugin install graph-it-live@graph-it-live
GitHub Copilot CLI copilot plugin marketplace add magic5644/Graph-It-Live, then copilot plugin install graph-it-live@graph-it-live
GitHub Copilot in VS Code Native tools (#graphContext, #graphImpact, …) with the extension; or Chat: Install Plugin From Source and select plugins/graph-it-live/
Cursor Plugins panel, Install from local source, select plugins/graph-it-live/; or .cursor/mcp.json
Codex codex mcp add graph-it-live --env WORKSPACE_ROOT=/path/to/project -- graph-it serve
Windsurf, Antigravity, other MCP clients MCP server entry running npx -y @magic5644/graph-it-live@latest serve
Any agent (skill only) npx skills add magic5644/skills/graph-it-live

In Claude Code v2.1.331 or later, the MCP server also serves the five skills (Skills over MCP).

MCP tools and the native Copilot tools answer in compact TOON by default; graph-it stats shows the tokens used against the same answers in JSON.

Full setup, the 26 MCP tools, the native Copilot tools, and ready-to-copy configurations: AI integrations.

Supported languages

Language File graph Symbol View Live Call Graph
TypeScript / JavaScript Yes Yes Yes
React (JSX / TSX) Yes Yes Yes
Vue 3 (SFC) Yes Yes Yes
Svelte Yes Yes Yes
Python Yes Yes Yes
Rust Yes Yes Yes
C# / Go / Java Yes No Yes
GraphQL Yes No Yes

Vue single-file components, React components, and the limits per language: Supported languages.

Configuration

Settings live under graph-it-live.* (performance profile, MCP server, traversal depth, unused-dependency mode, communities). Indexing skips paths in the root .gitignore; add a .graphitignore to exclude more. Branch Watch, off by default, inspects the changes of a branch automatically in a native view. See Configuration.

CI review gate

graph-it review-pr --base <ref> reviews a Git diff before CI: breaking signatures, consumers still importing a removed export, cycles, test candidates, architecture rules, and the before/after structure (units, folders, moves) and an optional before/after SVG (--deltaSvg, diagram --delta). A reusable GitHub Action posts the report and can gate a pull request with fail-on-risk. See the review-pr reference and the example workflow.

graph-it diagram --delta on the legacy-shop demo after a refactor commit: Before and After on the same grid; the units store and money are added, legacy is removed, ui shrinks from 2 files to 1, and the cycles billing-orders and domain-ui are resolved; the list of 16 changes follows

Documentation

Development

Requirements: Node.js 22 or later and npm.

git clone https://github.com/magic5644/Graph-It-Live.git
cd Graph-It-Live
npm install
npm run build

Press F5 in VS Code to launch the Extension Development Host.

Command Purpose
npm run build Build the extension and copy WASM assets
npm test Run unit tests
npm run test:cli Run CLI tests
npm run test:vscode Run VS Code E2E tests
npm run lint Run ESLint
npm run check:types Run strict TypeScript checks
npm run package Build the VSIX package
npm run package:verify Verify package contents

See DEVELOPMENT.md for the full project structure, test strategy, WASM details, and troubleshooting.

License

MIT. See LICENSE.

Language icons are provided by SuperTinyIcons under the CC0-1.0 license.

Star History

관련 프로젝트 살펴보기

불러오는 중…