Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Imports graph maker

An application that parses your code to create an interactive graph of all file imports.

Currently supported languages:

  1. 🐍 Python

Demo

import-graph-generator-demo.mov

How to run the app?

1. Build frontend

  1. cd into graph-renderer-js
     cd graph-renderer-js
  2. Install dependencies
     npm i
     # or
     pnpm i
  3. Build
     pnpm run build

2. Run App

  1. Create python environment
    conda create --name graph-maker python=3.12.3
    # activate
    conda activate graph-maker
  2. Install dependencies
    pip install -r requirements.txt
  3. Run the server
    python main.py
  4. Visit localhost:8000/index.html

Contributing

Setup environment

Backend

  1. Create environment
    conda create --name graph-maker python=3.12.3
    # activate
    conda activate graph-maker
  2. Install dependencies
    pip install -r requirements.txt

Frontend

Go to /graph-renderer-js

cd /graph-renderer-js

then

npm install
# or
pnpm install

Run

Backend

At project root run

python main.py

Frontend

At /graph-renderer-js run

pnpm run dev
# or
npm run dev

Site will be live at localhost:5173

About

Generates import graph for various projects (currently only python).

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages