terraform graph command reference | Terraform | HashiCorp Developer

The `terraform graph` command generates a visual representation of a configuration or execution plan that you can use to generate charts.