D2
- Declarative diagram language and compiler (from Terrastruct) that targets SVG/PNG with aesthetics and “diagram compiler” ergonomics that often beat plain Diagram/Mermaid for polished output.
- Icons and images on nodes from URLs or local files; Terrastruct hosts software-architecture-oriented icon sets suited to mixed stacks (cloud, Git hosts, runtimes, vendors).
- Tradeoff: not the same out-of-the-box experience as Python
from diagrams.aws... imports in diagrams—you typically maintain your own icon/name mapping for a dense service map.