I want to convert several files (>100) from .dot format (generated by Doxygen) to .png format, using Graphviz.
Following page describes the file conversion for only one file:
Graphviz: How to go from .dot to a graph?
dot -Tpng input.dot > output.png
Now, I want to proceed with a massive conversion proccess, which involves a lot of files inside a directory.
Most of documentation is for Linux OS, like the following:
https://github.com/rakhimov/cppdep/wiki/How-to-view-or-work-with-Graphviz-Dot-files
( as example:
To run dot on files in directories and sub-directories recursively:
$ find -type f -name "*.dot" directory_path | xargs dot -Tpdf -O
)
but I really need to do it on Windows OS.
I have been trying with the following command:
forfiles /c "dot -Tpng @file > @fname.png"
however, in this case, Windows cmd shows the error message:
"There is no layout engine support for "-tpng" Use one of: circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi"
for each one of the file conversion attemps.
How it can be done?
Thanks for your time.