How angelkaranwal-eng/algo_lab works
This is a desktop educational visualizer for algorithms and data structures. Users choose a lesson, configure or manipulate input, run or step through operations, and inspect the resulting state and telemetry in a custom canvas. The graph preserves the documented UI-to-algorithm/data-structure-to-visualization branches, including graph traversal and maze pathfinding. Relationships are based on the SOURCE INDEX or excerpts; the README is empty, and unsampled implementation details are not assumed.
Main entry points: main_window.py Main Window · queue_page.py Queue Page · graph_page.py Graph Page · sorting_page.py Sorting Page
Components 30
Lesson Interface
- Main Window
ui/main_window.py - Home Page
ui/home_page.py - About Page
ui/about_page.py - Sorting Page
ui/sorting_page.py - Searching Page
ui/searching_page.py - Comparison Page
ui/comparison_page.py - Stack Page
ui/stack_page.py - Queue Page
ui/queue_page.py - Linked List Page
ui/linked_list_page.py - Tree Page
ui/tree_page.py - Graph Page
ui/graph_page.py - Maze Page
ui/maze_page.py
Algorithms
- Sorting Algorithms
algorithms/sorting.py - Search Algorithms
algorithms/searching.py - Graph Algorithms
algorithms/graph_algorithms.py - Pathfinding
algorithms/pathfinding.py
Data Structures
- Stack
data_structures/stack.py - Queue
data_structures/queue.py - Circular Queue
data_structures/circular_queue.py - Linked List
data_structures/linked_list.py - Binary Search Tree
data_structures/binary_search_tree.py - Graph Model
data_structures/graph.py
Visualization
- Sorting Canvas
visualization/sorting_canvas.py - Searching Canvas
visualization/searching_canvas.py - Linear Structure Canvas
visualization/linear_ds_canvas.py - Tree Canvas
visualization/bst_canvas.py - Graph Canvas
visualization/graph_canvas.py - Maze Canvas
visualization/maze_canvas.py - Visual Theme
visualization/styles.py
Other components
- Learner
Connections 33
- Learner → Main Window: uses
- Main Window → Home Page: routes to
ui/main_window.py - Main Window → About Page: routes to
ui/main_window.py - Main Window → Sorting Page: routes to
ui/main_window.py - Main Window → Searching Page: routes to
ui/main_window.py - Main Window → Comparison Page: routes to
ui/main_window.py - Main Window → Stack Page: routes to
ui/main_window.py - Main Window → Queue Page: routes to
ui/main_window.py - Main Window → Linked List Page: routes to
ui/main_window.py - Main Window → Tree Page: routes to
ui/main_window.py - Main Window → Graph Page: routes to
ui/main_window.py - Main Window → Maze Page: routes to
ui/main_window.py - Sorting Page → Sorting Algorithms: steps through
ui/sorting_page.py - Sorting Page → Sorting Canvas: updates state
ui/sorting_page.py - Searching Page → Search Algorithms: steps through
ui/searching_page.py - Searching Page → Searching Canvas: updates state
ui/searching_page.py - Comparison Page → Sorting Algorithms: compares sorts
ui/comparison_page.py - Stack Page → Stack: operates on
ui/stack_page.py - Stack Page → Linear Structure Canvas: updates state
ui/stack_page.py - Queue Page → Queue: operates on
ui/queue_page.py - Queue Page → Circular Queue: operates on
ui/queue_page.py - Queue Page → Linear Structure Canvas: updates state
ui/queue_page.py - Linked List Page → Linked List: operates on
ui/linked_list_page.py - Linked List Page → Linear Structure Canvas: updates state
ui/linked_list_page.py - Tree Page → Binary Search Tree: operates on
ui/tree_page.py - Tree Page → Tree Canvas: updates tree
ui/tree_page.py - Graph Page → Graph Model: edits graph
ui/graph_page.py - Graph Page → Graph Algorithms: runs traversal
ui/graph_page.py - Graph Page → Graph Canvas: updates display
ui/graph_page.py - Maze Page → Pathfinding: runs search
ui/maze_page.py - Maze Page → Maze Canvas: updates display
ui/maze_page.py - Graph Algorithms → Queue: uses
algorithms/graph_algorithms.py - Graph Algorithms → Stack: uses
algorithms/graph_algorithms.py