Versions in this module Expand all Collapse all v1 v1.3.0 Aug 6, 2026 v1.2.0 Aug 5, 2026 v1.1.0 Aug 5, 2026 v1.0.0 Aug 4, 2026 v0 v0.43.0 Aug 4, 2026 Changes in this version + type Graph struct + Nodes map[K]*Node[N] + func NewGraph[K comparable, N any]() *Graph[K, N] + func (graph *Graph[K, N]) AddDependency(dependant, dependency K) + func (graph *Graph[K, N]) Build() error + func (graph *Graph[K, N]) NewNode(key K, data N) error + func (graph *Graph[K, N]) Reverse() (*Graph[K, N], error) + func (graph *Graph[K, N]) Run() <-chan *Node[N] + type GraphDependency [2]K + func (dep GraphDependency[K]) Dependant() K + func (dep GraphDependency[K]) Dependency() K + type Node struct + Data N + func (node *Node[N]) IsDone() bool + func (node *Node[N]) IsFailed() bool + func (node *Node[N]) IsReady() bool + func (node *Node[N]) SetFailed() + func (node *Node[N]) SetSucceeded() + type NodeStatus int + const NodeFailed + const NodePending + const NodeSuccess