Graph packages for the Go language
Go TeX Shell

Gonum Graph Build Status Coverage Status GoDoc

This is a generalized graph package for the Go language. It aims to provide a clean, transparent API for common algorithms on arbitrary graphs such as finding the graph's strongly connected components, dominators, or searces.

The package is currently in testing, and the API is "semi-stable". The signatures of any functions like AStar are unlikely to change much, but the Graph, Node, and Edge interfaces may change a bit.


If you find any bugs, feel free to file an issue on the github issue tracker. Discussions on API changes, added features, code review, or similar requests are preferred on the Gonum-dev Google Group.!forum/gonum-dev


Please see for general license information, contributors, authors, etc on the Gonum suite of packages.