How to use GraphViz for visualizing graphs

GraphViz is a very useful tool for defining and visualizing graph structures – once you know how. I find it’s documentation on how to use the thing a little lacking, so I’ve posted some instructions on how to get started. For Windows operating systems, download and install the GraphViz programmer from here: https://www.graphviz.org/download/