Skip to content

ivan-avalos/random-btg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RandomBTG

Random binary tree

RandomBTG is a very simple random binary tree generator that allows you to create binary trees for using them as test cases in your programs. You can also render the result into a PDF, so you can see how beautiful your tree looks like. You can also configure things such as the total depth of the tree, minimum and maximum values for each node, the output file for the rendered graph and decide whether rendering PDF or simply generate the DOT file.

Instructions

Want some beautiful trees now? Just run the following commands in a terminal:

pip3 install graphviz
chmod +x btg.py
./btg.py -h

Credits

Library Author License
Graphviz Sebastian Bank MIT

About

Want some beautiful trees? Generate some random trees now!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages