Built idea · Oct 11, 2026
Edit Graph Lab
An interactive visualizer for the diff algorithms behind git and every code-review tool: watch Myers' algorithm explore the edit graph diagonal by diagonal, compare it with patience and histogram diff, and answer simulator-checked 'what will the diff be?' questions.
What it does
Shows students how a diff tool decides what changed between two files. You type two texts and see the grid the classic Myers method searches, step by step, with each step explained in a sentence, ending in the familiar line-by-line diff. A compare view runs four diff methods on the same input and highlights where they disagree, and seven worked examples cover known puzzles. Instructors can generate practice questions and export them as Markdown or a quiz file that learning systems import. Limitation: its diffs can differ from git's, because it skips git's clean-up pass and may pick a different equally short answer.