Updated the readme to reflect the new file extension.

This commit is contained in:
John Cleaver 2013-12-04 20:17:59 -05:00
parent 38e36fc5ea
commit 0e72e237db

View File

@ -52,14 +52,14 @@ The Windows version of Graphviz is also available from [their website][gviz-wind
From the command line, just run:
```
dot -Tpdf brotherhood.dot > brotherhood.pdf
dot -Tpdf brotherhood.gz > brotherhood.pdf
```
Note to Windows users: you may need to run this command from the location where the `dot` program is located (Try looking in `c:\program files (x86)\graphviz`). You will also need to use the full path to the dot file. As an example:
```
cd c:\program files (x86)\graphviz
dot -Tpdf c:\Users\john\desktop\brotherhood.dot > c:\Users\john\desktop\brotherhood.pdf
dot -Tpdf c:\Users\john\desktop\brotherhood.gz > c:\Users\john\desktop\brotherhood.pdf
```
The `-T` flag tells dot which format to use for the output file. In this case, we are specifying PDF, but other formats like PNG may be used as well.