I have already set-up my database models and for the sake of visualizing my data's, I would like to generate a structure for it. I have installed the required packages which were successful.
List of installed packages for generating the graph using the pip command:
pydot
pyparsing
Graphviz
django-extensions
I was able to generate the dot file successfully by running the command python manage.py graph_models -a > erd.dot
which worked successfully but whenever I used the command python manage.py graph_models -a -g -o erd.png
in order to generate an image for it I get the FileNotFoundError: [WinError 2] "dot" not found in path
error.