Versions in this module Expand all Collapse all v0 v0.1.0 Apr 20, 2026 Changes in this version + type Edge struct + ID string + Kind EdgeKind + Label string + Metadata map[string]string + Port int + Protocol string + Source string + Target string + type EdgeKind string + const EdgeKindConnection + const EdgeKindDatabase + const EdgeKindDeploys + const EdgeKindQueue + const EdgeKindStorage + type Graph struct + Edges []Edge + Nodes []Node + func FromSystem(s *spec.System) *Graph + func NewGraph() *Graph + func (g *Graph) AddEdge(e Edge) + func (g *Graph) AddNode(n Node) + func (g *Graph) EdgesFrom(nodeID string) []Edge + func (g *Graph) EdgesTo(nodeID string) []Edge + func (g *Graph) NodeByID(id string) *Node + type Node struct + Group string + ID string + Kind NodeKind + Label string + Metadata map[string]string + type NodeKind string + const NodeKindAIModel + const NodeKindCDN + const NodeKindDatabase + const NodeKindExternal + const NodeKindHelm + const NodeKindQueue + const NodeKindService + const NodeKindStorage + const NodeKindSubnet + const NodeKindTerraform + const NodeKindTopic + const NodeKindVPC + const NodeKindWorker