Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 358 Bytes
package spiderDB
type Node interface {
GetID() string //DB
SetID(id string)
SetEdges(edges []Edge)
AddEdge(edge Edge)
AddEdges(edges []Edge)
RemoveEdges(edges []Edge)
GetPropMap() map[string][]byte
SetPropMap(props map[string][]byte)
SetGM(gm GraphBackend)
Equals(other Node) bool
}
type NodeConstructor func(id string, gm GraphBackend) Node
Something went wrong with that request. Please try again.