D2 is a domain-specific language (DSL) that stands for Declarative Diagramming.
published on 2022/11/23
D2 is a domain-specific language (DSL) that stands for Declarative Diagramming. Declarative, as in, you describe what you want diagrammed, it generates the image.
You can find the source here on GitHub
Code base diagram is very important for developer because it enables us to version the diagram in our source code control easily.