blob: 22e701bcc1225a2debde1c89208f7b2f88703269 [file] [log] [blame]
package terraform
import "github.com/hashicorp/terraform/internal/dag"
// GraphDot returns the dot formatting of a visual representation of
// the given Terraform graph.
func GraphDot(g *Graph, opts *dag.DotOpts) (string, error) {
return string(g.Dot(opts)), nil
}