TemporalDashboard.WorkflowDiagramming 1.0.0.10

dotnet add package TemporalDashboard.WorkflowDiagramming --version 1.0.0.10
                    
NuGet\Install-Package TemporalDashboard.WorkflowDiagramming -Version 1.0.0.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TemporalDashboard.WorkflowDiagramming" Version="1.0.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TemporalDashboard.WorkflowDiagramming" Version="1.0.0.10" />
                    
Directory.Packages.props
<PackageReference Include="TemporalDashboard.WorkflowDiagramming" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TemporalDashboard.WorkflowDiagramming --version 1.0.0.10
                    
#r "nuget: TemporalDashboard.WorkflowDiagramming, 1.0.0.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TemporalDashboard.WorkflowDiagramming@1.0.0.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TemporalDashboard.WorkflowDiagramming&version=1.0.0.10
                    
Install as a Cake Addin
#tool nuget:?package=TemporalDashboard.WorkflowDiagramming&version=1.0.0.10
                    
Install as a Cake Tool

TemporalDashboard.WorkflowDiagramming

Workflow diagram generation library for Temporal workflows using Mermaid syntax.

Overview

This assembly provides:

  • Workflow diagram attributes for annotating workflow code
  • Shared WorkflowDiagramModel + MermaidDiagramRenderer (also used by the Roslyn extractor)
  • Mermaid diagram generator from annotated workflow types
  • Support for parallel flows, decisions, branches, and AI-powered activities

Alternate path (no attributes): analyze normal Temporal C# with TemporalDashboard.WorkflowDiagramming.Roslyn / .Roslyn.Build.

Components

Attributes

All workflow diagram attributes are in the TemporalDashboard.WorkflowDiagramming.Attributes namespace:

  • [WorkflowDiagram] - Workflow-level metadata
  • [WorkflowStart] - Marks workflow start
  • [WorkflowStep] - Marks workflow steps/activities
  • [WorkflowDecision] - Marks decision points
  • [WorkflowBranch] - Defines branches from decisions
  • [WorkflowHumanApproval] - Marks human-in-the-loop steps
  • [WorkflowEnd] - Marks workflow completion
  • [WorkflowTransition] - Defines transitions between steps

WorkflowDiagramGenerator

Static class that generates Mermaid flowchart syntax from workflow classes:

var mermaidDiagram = WorkflowDiagramGenerator.GenerateMermaidDiagram(typeof(MyWorkflow));

Features

  • Parallel Flow Detection: Automatically detects and visualizes parallel execution
  • AI Activity Highlighting: Special styling for AI-powered activities (🤖 emoji + purple color)
  • Decision Points: Visual representation of decision nodes and branches
  • Human Approval Steps: Special styling for human-in-the-loop steps

Usage

  1. Annotate your workflow class and methods with the attributes
  2. Either:
    • At runtime: Call WorkflowDiagramGenerator.GenerateMermaidDiagram() with your workflow type and render the Mermaid syntax in your UI (e.g., using Mermaid.js), or
    • At build time: Use TemporalDashboard.WorkflowDiagramming.Build to generate .mermaid files as part of your build so you can ship diagram content without loading the workflow DLL at runtime. See src/TemporalDashboard.WorkflowDiagramming.Build/README.md.
  3. Render the Mermaid syntax in your UI (e.g., using Mermaid.js)

For attribute-free build-time generation from source, use TemporalDashboard.WorkflowDiagramming.Roslyn.Build instead.

Dependencies

  • Temporalio - For WorkflowRunAttribute detection
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on TemporalDashboard.WorkflowDiagramming:

Package Downloads
TemporalDashboard.WorkflowDiagramming.Build

MSBuild task to generate Mermaid workflow diagrams at build time from Temporal workflow assemblies. Add this package to your workflow project; the build task runs after Build and writes .mermaid files to diagrams.

TemporalDashboard.WorkflowDiagramming.Roslyn

Roslyn-based extractor that builds Mermaid workflow diagrams from Temporal .NET workflow source without diagramming attributes. Analyzes [WorkflowRun] method bodies for activities, decisions, and parallelism.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0.10 137 7/30/2026
1.0.0.9 125 7/30/2026
1.0.0.8 146 7/29/2026
1.0.0.7 965 3/3/2026
1.0.0.6 126 3/3/2026
1.0.0.5 126 2/24/2026
1.0.0.4 125 2/24/2026
1.0.0 130 2/24/2026