Versions in this module Expand all Collapse all v0 v0.2.0 Aug 17, 2026 v0.1.0 Aug 14, 2026 Changes in this version + func CanonicalFormOf(nodes []Node, rows []Row) []byte + type Builder struct + func NewBuilder() *Builder + func (b *Builder) AddNode(n Node) error + func (b *Builder) AddRow(r Row) error + func (b *Builder) Build() (*Relation, error) + type Edge struct + Dst string + Src string + type Node struct + Attrs map[string]Value + ID NodeID + Kind vocab.NodeKind + type NodeID struct + Chain []Segment + Lang string + Member string + Module string + func (id NodeID) String() string + func (id NodeID) Validate() error + type Relation struct + Nodes []Node + Rows []Row + func (rel *Relation) AlgorithmGraph(kind vocab.RowKind) []Edge + func (rel *Relation) CanonicalForm() []byte + func (rel *Relation) Hash() [32]byte + func (rel *Relation) SiteFeed(kind vocab.RowKind) []Row + type Row struct + Attrs map[string]Value + Dst NodeID + File string + Kind vocab.RowKind + Span Span + Src NodeID + type Segment struct + Anonymous bool + Fingerprint string + Name string + Ordinal int + Overload int + type Span struct + End uint32 + Start uint32 + type Value struct + func BoolValue(b bool) Value + func IntValue(i int64) Value + func StringValue(s string) Value + func (v Value) AsBool() (bool, bool) + func (v Value) AsInt() (int64, bool) + func (v Value) AsString() (string, bool) + func (v Value) Kind() ValueKind + type ValueKind int + const ValueBool + const ValueInt + const ValueString