Architecture Log

The typeDiagram Blog

Updates, deep dives, and release notes from the people building the DSL, parser, layout engine, and renderer.

The typeDiagram team

Class Diagrams for Modern Type Systems: Diagram-as-Code and Source Generation with typeDiagram

A practical guide to class diagrams for modern type systems, including records, discriminated unions, and tagged unions. Generate TypeScript, Rust, C#, F#, Go, Python, Dart, PHP, and Protobuf types from one diagram, render SVG via pluggable hooks, and embed in Markdown — all diagram-as-code, all open source.

Read post →