This is a repository for printing tree with multiple nodes horizontally with python codes.
- build_tree.py: this is to build the tree and give the root node.
- display.py: this is to display the tree.
The input can be json format which could give by the below Run the following commander for json format string
python display.py --TreeForm json --JsonFile tree.json --OutputFile output_complexjson.txt
Run the following commander for the other form of input and please give the root node by modified in the build_tree.py
python display.py --TreeForm function --OutputFile output_simple.txt