Home

Awesome

About

This is the Go implementation of simple-graph.

Usage

Installation

Basic Functions

The database package provides convenience functions for atomic transactions to add, delete, connect, and search for nodes.

There are also visualization functions to convert search and traversal outputs into dot format for conversion images.

Testing

There are unit tests in the simplegraph package covering each of the basic functions.

Make sure to use the json1 tags when running them:

cd simplegraph
go test -tags json1

If you have the correct version of SQLite installed, the tests should all pass:

PASS
ok  	github.com/dpapathanasiou/simple-graph/go/simplegraph	0.067s

TODO