1package terraform 2 3import "github.com/hashicorp/terraform/dag" 4 5// GraphDot returns the dot formatting of a visual representation of 6// the given Terraform graph. 7func GraphDot(g *Graph, opts *dag.DotOpts) (string, error) { 8 return string(g.Dot(opts)), nil 9} 10