Package graphviz provides an easy-to-use API for visualizing graphs using Graphviz (http://graphviz.org). It can generate graph descriptions in DOT language which can be made into a picture using various Graphviz tools such as dot, neato, ...
See documentation on godoc.org.
See examples folder for usage examples.