diagram_guide
Read before render_graph to learn TerraVision graph rules, examples, node types, and setup checks; fetch provider patterns for AWS, Azure, or GCP diagrams.
Instructions
Read this once before calling render_graph.
Returns the TerraVision graph rules (types to prefer, containers, what is drawn and what is hidden), worked example graphs, every node type for the provider, and in "setup" whether Graphviz, Git and Terraform are installed: if Graphviz or Git is missing, tell the user what to install before drafting a diagram. Base your graph on the closest example and keep its level of detail: availability zones, public and private subnets, NAT gateways routed to the internet, and shared services in their group. It also lists patterns (EKS, SageMaker, Step Functions, GKE, AKS and more) drawn from TerraVision's output for real Terraform; call again with pattern to get one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Name of a pattern from the "patterns" list, to fetch that graph. | |
| provider | Yes | "aws", "azure" or "gcp". One provider per diagram. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |