Skip to content

Infrastructure Sync (Living Diagrams)

Infrastructure Sync converts real infrastructure files into OpenFlow diagrams deterministically. It works offline for supported inputs and produces diagrams that stay close to your actual infrastructure sources.

  • Terraform State (.tfstate JSON)
  • Kubernetes YAML
  • Docker Compose YAML
  • Terraform HCL through the AI-assisted path when needed

Use Infrastructure Sync when:

  • you already have real infrastructure files
  • you want deterministic parsing
  • you need an offline-friendly import path
  • you want an editable starting point for architecture review

AI import is useful when the model needs to interpret messy or conceptual input. Infrastructure Sync is for cases where the source artifact already contains the structure and you want OpenFlowKit to parse it rather than reinterpret it.

That distinction matters for trust. If the goal is to stay close to the underlying infra source, deterministic parsing is usually the better first move.

  1. Open Studio.
  2. Switch to the Infra tab.
  3. Select the matching format (Terraform State, Kubernetes YAML, or Docker Compose).
  4. Paste or drop the file contents into the text area.
  5. Click “Generate” to create the diagram.
  6. Review the summary showing nodes and connections found.
  7. Click “Apply” to add the diagram to the canvas.
  • Terraform State (.tfstate): Parses resources and their relationships from Terraform state output
  • Kubernetes YAML: Parses deployments, services, pods, and their connections
  • Docker Compose YAML: Parses services, networks, and volumes

The result is still an editable OpenFlowKit diagram. After applying it to the canvas, you can:

  • annotate it
  • regroup it
  • run layout
  • export it
  • compare it against later snapshots
  • apply lint rules for architecture review
  • cloud topology reviews
  • current-state architecture documentation
  • infra change communication
  • turning operational source files into something easier to discuss visually