Awesome
visual-ll
Using graphviz to enable visualization on linked-list implementation.
- If you want to take advantage of this project, please clone/fork it, and then modify the code in
lib/
for your own use. - And example for each demo, you can see the code under
src/
. - If you like it, please give
visual-ll
a star ~!
Author
Get Started
- Need to install dependencies
- dependencies
sudo apt install graphviz
- Other Option - Current develop environment
gcc
: v5.4.1GNU make
: v4.1gdb
: v7.11.1
- Memory error detector
valgrind
: v3.11.0
Run
demo part
- run all demo (build + run + plot)
make all
- run each
# demo 1
make demo_r
# demo 2
make demo2_r
# demo 3
make demo3_r
debug (by gdb)
- run each
# demo 1
make gdb1
# demo 2
make gdb2
# demo 3
make gdb3
memory check (by valgrind)
- run each
# demo 1
make memcheck1
# demo 2
make memcheck2
# demo 3
make memcheck3
clean all existed object files
make clean
Example
- Demo - visualizable linked-list
- Demo - binary tree
- Demo - directed graph