AzureDiagramGenerator 0.6.64
dotnet tool install --global AzureDiagramGenerator --version 0.6.64
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local AzureDiagramGenerator --version 0.6.64
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AzureDiagramGenerator&version=0.6.64
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package AzureDiagramGenerator --version 0.6.64
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AzureDiagrams
Generate a Draw.IO diagram from your Azure Resources
CLI flags
| Flag | Required | Description |
|---|---|---|
| --tenant-id | No | Tenant Id (defaults to current Azure CLI) |
| --subscription | Yes | Subscription Id to run against |
| --resource-group | Yes | Wildcard enabled resource group name (supports multiple) |
| --output | Yes | Folder to output diagram to |
| --condensed | No | True collapses private endpoints into subnets (can simplify large diagrams) |
| --show-runtime | No | True to show runtime flows defined on the control plane |
| --show-inferred | No | True to infer connections between resources by introspecting appSettings |
| --show-identity | No | True to show User Assigned Managed Identity connections |
| --show-diagnostics | No | True to show diagnostics flows |
| --token | No | Optional JWT to avoid using CLI credential |
| --output-file-name | No | Name of generated file. Defaults to resource-group name |
| --output-png | No | Outputs a png file as-well as the drawio file (requires draw.io to be installed) |
Github Actions
We have two different actions. The first runs as a Docker action, and produces a jpeg output. The second doesn't use docker, and produces a .drawio file.
How does it work?
AzureDiagrams queries the Azure Resource Management APIs to introspect resource-groups. It then uses a set of strategies to enrich the raw data, building a model that can be projected into other formats.
It's not 100% guaranteed to be correct but it should give a good first pass at fairly complex architectures/
To layout the components I use the amazing AutomaticGraphLayout library.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.64 | 176 | 2/5/2025 |
| 0.6.59 | 212 | 6/20/2024 |
| 0.6.58 | 317 | 7/12/2023 |
| 0.6.57 | 234 | 7/12/2023 |
| 0.6.56 | 380 | 3/8/2023 |
| 0.6.55 | 422 | 2/5/2023 |
| 0.6.54 | 377 | 2/3/2023 |
| 0.6.53 | 430 | 1/24/2023 |
| 0.6.53-pullrequest0009-0003 | 361 | 1/24/2023 |
| 0.6.52 | 467 | 1/17/2023 |
| 0.6.52-pullrequest0008-0006 | 377 | 1/17/2023 |
| 0.6.51 | 449 | 1/15/2023 |
| 0.6.50 | 442 | 1/15/2023 |
| 0.6.49 | 434 | 1/15/2023 |
| 0.6.48 | 460 | 1/15/2023 |
| 0.6.47 | 414 | 1/15/2023 |
| 0.6.46 | 423 | 1/15/2023 |
| 0.6.45 | 448 | 1/15/2023 |
| 0.6.44 | 459 | 1/14/2023 |
| 0.6.43 | 456 | 1/11/2023 |
| 0.6.42 | 420 | 12/27/2022 |
| 0.6.41 | 444 | 12/27/2022 |
| 0.6.40 | 417 | 12/26/2022 |
| 0.6.40-pullrequest0007-0008 | 386 | 12/26/2022 |
| 0.6.40-pullrequest0007-0002 | 355 | 12/26/2022 |
| 0.6.39 | 443 | 12/26/2022 |
| 0.6.39-pullrequest0006-0006 | 351 | 12/26/2022 |
| 0.6.39-pullrequest0006-0005 | 344 | 12/26/2022 |
| 0.6.38 | 391 | 12/24/2022 |
| 0.6.37 | 433 | 12/24/2022 |
| 0.6.36 | 419 | 12/24/2022 |
| 0.6.35 | 455 | 12/19/2022 |
| 0.6.34 | 432 | 12/19/2022 |
| 0.6.33 | 416 | 12/7/2022 |
| 0.6.32 | 458 | 12/7/2022 |
| 0.6.31 | 451 | 12/7/2022 |
| 0.6.30 | 430 | 12/6/2022 |
| 0.6.29 | 446 | 12/5/2022 |
| 0.6.28 | 445 | 12/5/2022 |
| 0.6.27 | 426 | 12/5/2022 |
| 0.6.26 | 468 | 12/5/2022 |
| 0.6.25 | 440 | 12/5/2022 |
| 0.6.23 | 409 | 12/5/2022 |