Output for modelling the tree with the current node configuration
root
│ ├──node1
│ │ ├──node3
│ │ │ └──node7
│ │ │ │ └──node8
│ │ └──node4
│ └──node2
│ │ ├──node5
│ │ └──node6
Python implementation of a parse tree built using standard binary trees
Python