Skip to content

Instantly share code, notes, and snippets.

Created March 19, 2015 01:03
What would you like to do?
package graph
type Graph struct {
Node map[string]Node
Edge []Edge
* Node will take in a string representations and save
* the nodes input as an interface. There is then an array
* of outbound edges, which which will be used to connect with other nodes
type Node struct {
Code string
Data interface{}
OutEdges []Edge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment