Skip to main content

Function call graph for a codebase

Neo4j Graph

Codegen can export codebase graphs to Neo4j for visualization and analysis.

Installation

In order to use Neo4j you will need to install it and run it locally using Docker.

Neo4j

First, install Neo4j using the official installation guide.

Docker

To run Neo4j locally using Docker, follow the instructions here.

Launch Neo4j Locally

Usage

Visualization

Once exported, you can open the Neo4j browser at http://localhost:7474, sign in with the username neo4j and the password password, and use the following Cypher queries to visualize the codebase:

Class Hierarchy

Class hierarchy for a codebase

Methods Defined by Each Class

Methods defined by each class

Function Calls

Function call graph for a codebase

Call Graph

Call graph for a codebase