Documentation

Architecture Graph

Architecture Graph Preview

The Graph tab provides a visual representation of your Terraform infrastructure as a dependency graph.

Accessing the Graph

  • Click the 'Graph' tab in the right panel
  • Or click the 'Preview Architecture' button in the Dock

What the Graph Shows

  • All Terraform resources in your workspace
  • Dependencies between resources (arrows showing which resource depends on which)
  • Resource types with provider icons
  • Resource names and types as labels

Using the Graph

  • Zoom in/out: Use the scroll wheel or pinch on touch screens
  • Pan: Click and drag to navigate the graph
  • Click a node: See resource details (if interactive mode is enabled)
  • The graph updates when you run terraform graph or when files change

How to Generate/Refresh the Graph

  1. 1
    Ensure your Terraform configuration files are in place (IDE panel)
  2. 2
    Click 'Preview Architecture' in the Dock
  3. 3
    The system runs terraform graph internally and renders the output
  4. 4
    The graph appears in the Graph tab

Use Cases

  • Verify resource dependencies before applying
  • Understand the structure of imported or existing code
  • Identify circular dependencies or missing connections
  • Share architecture diagrams with stakeholders