Skip to content

Commit

Permalink
Merge pull request #205 from trevorb1/issue-204
Browse files Browse the repository at this point in the history
Update graphviz install instructions
  • Loading branch information
trevorb1 authored Nov 3, 2023
2 parents f09b48b + d7f668e commit 5331c5d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,20 @@ Run the following command, where the RES will be saved as the file ``res.png``::

$ otoole viz res excel simplicity.xlsx res.png config.yaml

2. View the RES
.. WARNING::
If you encounter a ``graphviz`` dependency error, install it on your system
from the graphviz_ website (if on Windows) or via the command::

sudo apt install graphviz # if on Ubuntu
brew install graphviz # if on Mac

To check that ``graphviz`` installed correctly, run ``dot -V`` to check the
version::

~$ dot -V
dot - graphviz version 2.43.0 (0)

1. View the RES
~~~~~~~~~~~~~~~
Open the newly created file, ``res.png`` and the following image should be
displayed
Expand Down Expand Up @@ -486,3 +499,4 @@ will also flag it as an isolated fuel. This means the fuel is unconnected from t
.. _CPLEX: https://www.ibm.com/products/ilog-cplex-optimization-studio/cplex-optimizer
.. _Anaconda: https://www.anaconda.com/
.. _Gurobi: https://www.gurobi.com/
.. _graphviz: https://www.graphviz.org/download/

0 comments on commit 5331c5d

Please sign in to comment.