Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Visualize Azure resource relationships, dependencies, and topology as diagrams
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
assets/example-diagram.md
1# Example Architecture Diagram23This example shows a typical Azure resource group with resources organized into logical layers.45## Sample Mermaid Diagram67```mermaid8graph TB9%% Use subgraphs to group related resources10subgraph "Resource Group: [name]"11subgraph "Network Layer"12VNET[Virtual Network<br/>10.0.0.0/16]13SUBNET1[Subnet: web<br/>10.0.1.0/24]14SUBNET2[Subnet: data<br/>10.0.2.0/24]15NSG[Network Security Group]16end1718subgraph "Compute Layer"19APP[App Service<br/>Plan: P1v2]20FUNC[Function App<br/>Runtime: .NET 8]21end2223subgraph "Data Layer"24SQL[Azure SQL Database<br/>DTU: S1]25STORAGE[Storage Account<br/>Type: Standard LRS]26end2728subgraph "Security & Identity"29KV[Key Vault]30MI[Managed Identity]31end32end3334%% Define relationships with descriptive labels35APP -->|"HTTPS requests"| FUNC36FUNC -->|"SQL connection"| SQL37FUNC -->|"Blob/Queue access"| STORAGE38APP -->|"Uses identity"| MI39MI -->|"Access secrets"| KV40VNET --> SUBNET141VNET --> SUBNET242SUBNET1 --> APP43SUBNET2 --> SQL44NSG -->|"Rules applied to"| SUBNET145```4647## Diagram Features4849This example demonstrates:5051- **Layered organization**: Resources grouped by function (Network, Compute, Data, Security)52- **Detailed node labels**: Each resource includes configuration details (SKUs, tiers, settings)53- **Descriptive connections**: Relationships are labeled to show data flow and dependencies54- **Subgraphs**: Logical grouping makes the architecture easy to understand55- **Resource variety**: Shows common Azure services and their interconnections56