package
3.6.0-alpha.1+incompatible
Repository: https://github.com/megamsys/abcd.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AddGraphEdgesTo returns an EdgeFunc that will add the selected edges to the passed graph.
AddReversedEdge adds a reversed edge for every passed edge and preserves the existing edge.
AllNodes includes all nodes in the graph.
EdgesOfKind returns a new EdgeFunc accepting the provided kinds of edges If no kinds are specified, the returned EdgeFunc will accept all edges.
No description provided by the author
ExistingDirectEdge returns true if both from and to already exist in the graph and the edge kind is not ReferencedByEdgeKind (the generic reverse edge kind).
GetContainingNode returns the direct predecessor that is linked to the node by a ContainsEdgeKind.
GetTopLevelContainerNode traverses the reverse ContainsEdgeKind edges until it finds a node that does not have an inbound ContainsEdgeKind edge.
No description provided by the author
IsFromDifferentNamespace returns if a node is in a different namespace than the one provided.
New initializes a graph from input to output.
No description provided by the author
No description provided by the author
NodesOfKind returns a new NodeFunc accepting the provided kinds of nodes If no kinds are specified, the returned NodeFunc will accept all nodes.
RemoveInboundEdges returns a new EdgeFunc dismissing any inbound edges to the provided set of nodes.
No description provided by the author
ReverseExistingDirectEdge reverses the order of the edge and drops the existing edge only if both from and to already exist in the graph and the edge kind is not ReferencedByEdgeKind (the generic reverse edge kind).
ReverseGraphEdge reverses the order of the edge and drops the existing edge.

# Constants

ContainsEdgeKind is the kind to use if one node's contents logically contain another node's contents.
ErrorSeverity is definitely wrong, this won't work.
InfoSeverity is interesting Currently used in missing probe markers.
ReferencedByEdgeKind is the kind to use if you're building reverse links that don't have a specific edge in the other direction other uses are discouraged.
No description provided by the author
No description provided by the author
WarningSeverity is probably wrong, but we aren't certain.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Marker is a struct that describes something interesting on a Node.
No description provided by the author

# Interfaces

ExistenceChecker is an interface for those nodes that can be created without a backing object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UniqueNodeInitializer is a graph that allows nodes with a unique name to be added without duplication.

# Type aliases

ByID is a sorted group of nodes by ID.
No description provided by the author
No description provided by the author
No description provided by the author
EdgeFunc is passed a new graph, an edge in the current graph, and should mutate the new graph as needed.
No description provided by the author
MarkerScanner is a function for analyzing a graph and finding interesting things in it.
NodeFunc is passed a new graph, a node in the graph, and should return true if the node should be included.
No description provided by the author
No description provided by the author
Severity indicates how important this problem is.
No description provided by the author
No description provided by the author
No description provided by the author