Welcome to seealgo’s documentation!¶
seealgo is a Python library designed to help you visualize a data structure as it changes throughout a function. Currently, seealgo provides functionality for lists and binary search trees.
Installation¶
This library requires you to have graphviz installed on your system using the instructions appropriate for your system, or by using the following command if you are on a macOS device:
brew install graphviz
Then, install seealgo using the following command:
pip install seealgo
Using seealgo¶
The following is an example of using the seealgo library to visualize appending a value to a list.
from seealgo import List
visual_list = List()
test_list = [1, 2, 3, 4]
def append_to_list(input_list):
input_list.append(5)
return input_list
visual_list.see(append_to_list, test_list)


Documentation: