Versions in this module Expand all Collapse all v1 v1.0.0 Mar 25, 2026 Changes in this version + type Edge struct + From string + Relation RelationType + To string + type Graph struct + Edges []Edge + Nodes []Node + func NewGraph() *Graph + func (g *Graph) AddEdge(from, to string, rel RelationType) + func (g *Graph) AddNode(id, typ, name string) + func (g *Graph) Describe() string + func (g *Graph) Query(nodeID string) []Edge + func (g *Graph) ToMermaid() string + type Node struct + ID string + Name string + Type string + type RelationType string + const RelDefinedBy + const RelEncapsulates + const RelSucceeds + const RelUsedIn