An application that parses your code to create an interactive graph of all file imports.
- 🐍 Python
import-graph-generator-demo.mov
- cd into graph-renderer-js
cd graph-renderer-js
- Install dependencies
npm i # or pnpm i
- Build
pnpm run build
- Create python environment
conda create --name graph-maker python=3.12.3 # activate conda activate graph-maker
- Install dependencies
pip install -r requirements.txt
- Run the server
python main.py
- Visit localhost:8000/index.html
- Create environment
conda create --name graph-maker python=3.12.3 # activate conda activate graph-maker
- Install dependencies
pip install -r requirements.txt
Go to /graph-renderer-js
cd /graph-renderer-js
then
npm install
# or
pnpm install
At project root run
python main.py
At /graph-renderer-js
run
pnpm run dev
# or
npm run dev
Site will be live at localhost:5173