---
title: "Temporal Diagram Generator"
description: "Generate visual sequence diagrams from your Temporal workflows—automatically! Useful for debugging, documentation, and onboarding."
canonical: "https://temporal.io/code-exchange/temporal-diagram-generator.md"
source: "https://temporal.io/code-exchange/temporal-diagram-generator"
published: "2025-02-13"
authors:
  - "Jonathan Muszkat"
company: "Workrise"
languages:
  - "Python"
tags:
  - "visualization"
reviewed_by_temporal: false
community_contribution: true
---

# Temporal Diagram Generator

Generate visual sequence diagrams from your Temporal workflows—automatically! Useful for debugging, documentation, and onboarding.

- [View repo](https://github.com/jonymusky/temporal-diagram-generator/)

Temporal Diagram Generator is a tool that automatically generates sequence diagrams from your Temporal workflow execution history. Whether you’re building new workflows or maintaining legacy ones, this tool helps you visualize the flow of activities, signals, and timers in a clean, easy-to-read diagram.

It solves the common pain of having to manually trace execution paths or explain workflow behavior to teammates. With just a few commands, you can:
• Understand complex workflows at a glance
• Quickly debug failed or unexpected runs
• Document processes for onboarding and technical design
• Share execution flow with non-technical stakeholders

Example output (from [Money Transfer Demo](https://github.com/temporal-sa/temporal-money-transfer-java)'s [Workflow History](https://github.com/temporal-sa/temporal-money-transfer-java/blob/2d1a7e17029290623f192cb07bb3dbe43d6c4028/workflowHistories/happy-path-ui-decoded.json))

![Temporal Diagram Generator example output](https://images.ctfassets.net/0uuz8ydxyd9p/2jBULT6UvUGOCu5DdRTAiC/9e2fe2b569acbb7ae69cfec2b549ef3d/369588024-62487a44-c3bf-4031-aaca-5ca07187137a.png)
