Versions in this module Expand all Collapse all v0 v0.2.0 Nov 1, 2024 Changes in this version type Graph + func (g *Graph) Nodes() []int v0.1.2 Aug 9, 2024 Changes in this version + type Graph struct + func New() *Graph + func (g *Graph) AddTransition(from int, to int) + func (g *Graph) Info() Info + func (g *Graph) IsTerminal(node int) bool + func (g *Graph) IsValid(node int) bool + func (g *Graph) Transitions(node int) []int + type Info struct + StartingNodes []int + TerminalNodes []int + Transitions []Transition + type Transition struct + From int + To int