package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

New constructs a new Graph.

# Constants

Precedence indicates that the source (from) of the edge must be reached before the destination (to), whether in a previous stage or the same stage.
PreviousStagePrecedence indicates that the source (from) of the edge must be reached before the destination (to), and _must_ do so in a previous stage.
PreviousTransactionPrecedence indicates that the source (from) of the edge must be reached before the destination (to), and _must_ do so in a previous transaction.
SameStagePrecedence indicates that the source (from) of the edge must be reached before the destination (to), and _must_ do so in the same stage.

# Structs

DepEdge represents a dependency between two nodes.
Graph is a graph whose nodes are *screl.Nodes.
OpEdge represents an edge changing the state of a target with an op.
Rule describes a reason for a DepEdge to exist.

# Interfaces

Edge represents a relationship between two Nodes.

# Type aliases

DepEdgeIterator is used to iterate dep edges.
DepEdgeKind indicates the kind of constraint enforced by the edge.
EdgeIterator is used to iterate edges.
NodeIterator is used to iterate nodes.
RuleName is the name of a rule.
RuleNames is a slice of RuleName.