• Stars
    star
    418
  • Rank 103,620 (Top 3 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created almost 3 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ¦€ A tool to generate interactive call graphs for multiple languages

Crabviz

A static code analysis tool that generates interactive call graph.

Introdution

Crabviz is based on the Langauge Server Protocol, as long as you have the corresponding language server installed, you can generate call graph with Crabviz for your project.

Features

  • Show types, methods, functions and interfaces, grouped by file
  • Display function calling relationships and interface implementation relationships
  • Specify folders and files for analysis

Preview

preview

Editors

Because Crabviz utilizes the capabilities of LSP server, it is better suited as an IDE/editor extension instead of a standalone command line tool.

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

TODO

  • Collapse folder
  • Beautify UI

Credits

crabviz is inspired by graphql-voyager and go-callvis