# Operands and equation questions

**URL:** <https://swi-prolog.discourse.group/t/operands-and-equation-questions/3007>\
**Category:** Help!\
**Tags:** discussion, how-to\
**Created:** [October 5, 2020, 5:14am UTC](https://swi-prolog.discourse.group/t/operands-and-equation-questions/3007 "2020-10-05T05:14:37Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [October 5, 2020, 9:25am UTC](https://swi-prolog.discourse.group/t/operands-and-equation-questions/3007/4 "2020-10-05T09:25:23Z")

</div>

The pack gvterm, IIRC will generate a dot file. A dot file is an input specification for [GraphViz](https://graphviz.org/).

I take that you have never used GraphViz? If not you will need to install GraphViz and then run the GraphViz dot command to convert the dot file into an output format such as SVG, PNG, PDF, etc.

There is some example code of doing this in [Convert facts to GraphViz dot file using DCGs](https://swi-prolog.discourse.group/t/convert-facts-to-graphviz-dot-file-using-dcgs/2809), specifically

```prolog
SET PATH="C:\Program Files (x86)\Graphviz2.38\bin"
dot -Tsvg module_graph.dot -o module_graph.svg

```

HTH

---

_[View the full topic](https://swi-prolog.discourse.group/t/operands-and-equation-questions/3007)._
