Skip to content
项目

关于

Write normal code and get step-by-step visualizations of popular data structures

学习与教育

这些数字如何统计

可以做什么

  • 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

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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 AlgoPad — Try 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

探索相关项目

加载中…