https://github.com/sauerbraten/graph
A thread-safe implementation of a graph data structure, written in Go (http://golang.org/).
https://github.com/sauerbraten/graph
go golang graph
Last synced: 4 months ago
JSON representation
A thread-safe implementation of a graph data structure, written in Go (http://golang.org/).
- Host: GitHub
- URL: https://github.com/sauerbraten/graph
- Owner: sauerbraten
- License: bsd-2-clause
- Created: 2013-01-16T14:59:07.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-02-04T14:27:48.000Z (over 6 years ago)
- Last Synced: 2025-08-15T00:44:07.547Z (11 months ago)
- Topics: go, golang, graph
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 55
- Watchers: 8
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Graph
A thread-safe implementation of a graph data structure in Go. See https://en.wikipedia.org/wiki/Graph_(abstract_data_type) for more information. This implementation is weighted, but undirected.
There is also a version of this package that supports storing values in the graph nodes so that the graph can be used as a data store: https://github.com/sauerbraten/graph-store
## Usage
Get the package:
$ go get github.com/sauerbraten/graph/v2
Import the package:
import (
"github.com/sauerbraten/graph/v2"
)
## Documentation
For full package documentation, visit http://godoc.org/github.com/sauerbraten/graph.