Skip to content

mostafaahmed97/recursion-visualization

Repository files navigation

Recursion Visualizer

A simple web app that draws sequence diagrams for recursive algorithms using Excalidraw.

🔧 How it works

The app runs modified versions of recursive algorithms that log a trace of how the functions execute.

The trace consists of the following events :

  • Function entry
  • Function return
  • Output during execution

This trace is then used to build a sequence diagram using Excalidraw elements.

Available algorithms

  • Factorial
  • Fibonacci
  • Merge Sort

⚙️ Running locally

  • Clone repository
  • npm install
  • npm run dev

💻 Built with

📕 Acknowledgements

This project was inspired by the work of brpapa on Recursion Tree Visualizer

About

A simple web app that draws sequence diagrams for recursive algorithms using Excalidraw.

Resources

Stars

Watchers

Forks