Skip to content

Add mermaid architecture diagrams to samples missing an architecture image - #114

Merged
paolosalvatori merged 1 commit into
mainfrom
missing-images
Aug 11, 2026
Merged

Add mermaid architecture diagrams to samples missing an architecture image#114
paolosalvatori merged 1 commit into
mainfrom
missing-images

Conversation

@paolosalvatori

Copy link
Copy Markdown
Contributor

Summary

  • samples/eventhubs/python: replaces the ASCII-art diagram under ## Architecture with a mermaid diagram (producers over AMQP/Kafka/HTTPS → payments hub → FraudDetector → fraud-alerts, plus Capture, checkpoints, dashboard, Key Vault, and App Insights/Log Analytics).
  • samples/eventhubs-eventgrid/python: replaces the intro ASCII art with a proper ## Architecture section and a mermaid diagram of the 7-step Capture → Event Grid → Functions pipeline.
  • samples/servicebus/java: adds this sample's first diagram — the host-run Spring Boot app doing the send/receive round trip against myqueue.

All three diagrams were validated by rendering them with mermaid-cli; GitHub renders them natively. The style matches the existing url-shortener mermaid diagram (subgraphs as containers, numbered primary flow, dotted secondary edges) so each element maps 1:1 onto an Azure icon for the Visio version.

Visio-made architecture images (like the other 11 samples have) will follow in a separate PR.

🤖 Generated with Claude Code

…image

eventhubs and eventhubs-eventgrid had ASCII-art diagrams and servicebus/java
had none. Each now has a mermaid diagram under ## Architecture (a new section
for eventhubs-eventgrid, aligning it with the repo convention). The diagrams
follow the url-shortener style: subgraphs as containers, numbered flow steps,
dotted secondary edges. Visio-made architecture images will follow in a
separate PR.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@paolosalvatori
paolosalvatori requested a review from a team as a code owner August 11, 2026 09:36
Copilot AI lite review requested due to automatic review settings August 11, 2026 09:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates documentation across multiple samples by replacing ASCII architecture sketches (or adding a missing architecture section) with GitHub-native Mermaid diagrams to standardize and improve readability of sample architectures.

Changes:

  • Added a Mermaid architecture diagram to the Service Bus (Java) sample README.
  • Replaced the Event Hubs (Python) sample’s ASCII diagram with a Mermaid diagram capturing producers, processing, Capture, and observability components.
  • Introduced a new ## Architecture section with a Mermaid diagram for the Event Hubs + Event Grid (Python) sample.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
samples/servicebus/java/README.md Adds a Mermaid architecture diagram showing the host-run Spring Boot app send/receive flow to myqueue.
samples/eventhubs/python/README.md Replaces the ASCII architecture sketch with a detailed Mermaid diagram of the end-to-end Event Hubs pipeline.
samples/eventhubs-eventgrid/python/README.md Adds a new Architecture section and Mermaid diagram documenting the Capture → Event Grid → Functions pipeline.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@paolosalvatori
paolosalvatori merged commit 3dd8c79 into main Aug 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants