Skip to content

vish-chan/AlgoFlow

Repository files navigation

Stars Forks Issues License Java Python TypeScript Docker

AlgoFlow AlgoFlow

Write algorithms in Java or Python — see them execute step by step. No SDKs, no manual tracing.

AlgoFlow automatically visualizes algorithm execution by intercepting operations at the bytecode (Java) and AST (Python) level. Perfect for computer science education, coding interviews, and algorithm learning.

AlgoFlow is the engine behind AlgoPadTry it live →

AlgoFlow Demo

Why AlgoFlow?

Unlike algorithm visualization tools that require manual instrumentation or special APIs, AlgoFlow works with normal code. No need to learn visualization libraries or modify your algorithms.

Features

Just write normal code — AlgoFlow automatically visualizes:

  • Arrays — 1D/2D with step highlighting
  • Trees — binary trees (Java: @Tree, Python: auto-detected)
  • Graphs — directed/undirected (Java: @Graph, Python: adjacency lists)
  • Collections — Lists, Queues, Stacks, Sets
  • Call Stack — recursion tracking

Quick Start

Prerequisites: Java 21+, Python 3.10+, Node.js 18+

git clone https://github.com/vish-chan/AlgoFlow.git
cd AlgoFlow
./start.sh

How It Works

  • Java — ByteBuddy agent intercepts bytecode operations
  • Python — AST transformer injects visualization callbacks
  • Frontend — React + Monaco editor with canvas visualizer

Deployment

docker-compose up --build

Contributing

Contributions welcome! See CONTRIBUTING.md.

License

Apache-2.0

Sponsor this project

 

Packages

 
 
 

Contributors