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 AlgoPad — Try it live →
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.
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
Prerequisites: Java 21+, Python 3.10+, Node.js 18+
git clone https://github.com/vish-chan/AlgoFlow.git
cd AlgoFlow
./start.sh- Java — ByteBuddy agent intercepts bytecode operations
- Python — AST transformer injects visualization callbacks
- Frontend — React + Monaco editor with canvas visualizer
docker-compose up --buildContributions welcome! See CONTRIBUTING.md.
