chanhx / crabviz

🦀 A LSP-based interative call graph generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crabviz

Crabviz is a LSP-based call graph generator. It leverages the Language Server Protocol to generate interactive call graphs, helps you visually explore source code.

Features

  • Workable for various programming languages

  • Highlight on click

  • Two kinds of graphs

    You can generate a call graph for selected files to get an overview, or a selected function to track the call hierarchy.

  • Export call graphs as SVG

Preview

preview

Install

Since Crabviz utilizes the capabilities of language servers, it is better suited as an IDE/editor extension than a standalone command line tool.

It is currently available on VS Code, and PRs for other editors are welcome.

Credits

Crabviz is inspired by graphql-voyager and go-callvis.

About

🦀 A LSP-based interative call graph generator

License:Apache License 2.0


Languages

Language:Rust 49.0%Language:TypeScript 32.8%Language:JavaScript 13.2%Language:CSS 5.0%