Comment by hendry

1 month ago

Wish there was something like Mermaid for typical AWS Architecture diagrams.

Something that doesn't suck like draw.io!

Interesting use case! Mermaid doesn't have native AWS icons, but for v0.3.0's standalone crate, we could potentially support custom shapes/icons. D2 has better icon support if you need that now.

What specific diagram types do you need — network topology, service flows, infrastructure layout?

  • More service flows aimed at security audits

    • Service flows for security audits — that's a specific and useful use case!

      A few thoughts:

      What might work today: - Sequence diagrams can model service-to-service flows (API calls, auth handoffs)

      - Flowcharts with subgraphs can represent VPC boundaries, security groups

      - C4-style (context, container, component) is sometimes modeled with flowcharts

      What would make it better:

      - Custom shapes/icons (AWS service icons)

      - Annotations for security boundaries, trust zones

      - Data flow direction markers

      Alternative you might try now:

      D2 (https://d2lang.com) has better icon support and was designed for architecture diagrams. It has an AWS icon pack. Structurizr also does C4 well.

      That said, if there's demand for architecture-specific diagrams in Ferrite's Mermaid renderer, I could look at:

      1. Custom icon/shape support via external SVGs

      2. A dedicated "architecture" diagram type with security-relevant annotations

      Would a template or example for modeling security flows in Mermaid's current syntax help as a starting point?

      2 replies →