A small program to visualize a trie data structure in the form of decision tree graph.
change the
input.txt
with your list of desired words.
the program will create
output.json
andoutput.pdf
itself.
you need to have the following dependencies installed alongside python.
- pydot
- json
helping material: https://stackoverflow.com/questions/13688410/dictionary-object-to-decision-tree-in-pydot