Versions in this module Expand all Collapse all v0 v0.2.0 Apr 13, 2026 v0.1.0 Apr 11, 2026 Changes in this version + type ValidationError struct + Field string + Message string + func (e *ValidationError) Error() string + type Validator struct + AllowedEdgeTypes []string + AllowedNodeTypes []string + RequireNodeLabel bool + func NewValidator() *Validator + func (v *Validator) ValidateEdge(e *graph.Edge) error + func (v *Validator) ValidateEdgeRefs(e *graph.Edge, nodes map[string]*graph.Node) error + func (v *Validator) ValidateGraph(g *graph.Graph) []error + func (v *Validator) ValidateNode(n *graph.Node) error