package
0.8.4
Repository: https://github.com/r3labs/terraform.git
Documentation: pkg.go.dev

# Functions

simple convenience helper for converting a dag.Set to a []Vertex.
BasicEdge returns an Edge implementation that simply tracks the source and target given as-is.
JSON2Dot reads a Graph debug log from and io.Reader, and converts the final graph dot format.
StronglyConnected returns the list of strongly connected components within the Graph g.
VertexName returns the name of a vertex.

# Structs

AcyclicGraph is a specialization of Graph that cannot have cycles.
DotNode provides a structure for Vertices to return in order to specify their dot format.
DotOpts are the options for generating a dot formatted Graph.
Graph is used to represent a dependency graph.
Set is a set data structure.

# Interfaces

Edge represents an edge in the graph, with a source and target vertex.
A Grapher is any type that returns a Grapher, mainly used to identify dag.Graph and dag.AcyclicGraph.
GraphNodeDotter can be implemented by a node to cause it to be included in the dot graph.
Hashable is the interface used by set to get the hash code of a value.
NamedVertex is an optional interface that can be implemented by Vertex to give it a human-friendly name that is used for outputting the graph.
Subgrapher allows a Vertex to be a Graph itself, by returning a Grapher.
Vertex of the graph.

# Type aliases

The DebugOperationEnd func type provides a way to call an End function via a method call, allowing for the chaining of methods in a defer statement.
DepthWalkFunc is a walk function that also receives the current depth of the walk as an argument.
WalkFunc is the callback used for walking the graph.