D2 Ink — D2 Architecture Diagrams for Inkscape

active

Write and render D2 architecture diagrams and entity-relationship diagrams as editable SVG inside Inkscape.

inkscapeextensiond2diagramsarchitecturepythonopen-source
D2 Ink — D2 Architecture Diagrams for Inkscape

Overview

D2 Ink integrates the D2 diagram language into Inkscape. D2 produces beautiful, automatically-laid-out architecture diagrams, entity-relationship diagrams, and software design maps from a declarative text syntax.

Why D2?

D2’s automatic layout engine (powered by ELK, Dagre, or TALA) produces publication-quality diagrams without manual positioning. Combined with Inkscape’s SVG editing capabilities, D2 Ink is perfect for creating and then polishing technical architecture figures for papers and presentations.

Example

User -> API Gateway -> Auth Service
API Gateway -> Business Logic
Business Logic -> Database

Installation

git clone https://github.com/YouvenZ/D2_ink

Requires D2 CLI to be on your PATH.