Documentation
¶
Overview ¶
Package store holds the three ways a graph is kept: by similarity, by edge, and by assertion. They are separate interfaces because they answer separate questions, and a deployment may back them with one engine or three.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph interface {
Node(ctx context.Context, id string, props map[string]any) error
Edge(ctx context.Context, from, to, label string) error
Out(ctx context.Context, id string) ([]string, error)
}
Graph answers "what is connected to this".