Measures Concepts
GitHub icon

D2

D2 - Text markup language

< >

D2, aka Declarative Diagramming, is a text markup language created in 1995.

#1769on PLDB 29Years Old

D2 is a domain-specific language (DSL) that stands for Declarative Diagramming. Declarative, as in, you write in text what you want diagrammed, we generate it.


Example from the web:
aws: { load_balancer -> api api -> db } gcloud: { auth -> db } gcloud -> aws explanation: |md # Why do we use AWS? - It has more uptime than GCloud - We have free credits | { near: aws }

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout