Text to (animated) diagrams
This is a single SVG file created purely through D2 text:
D2 source to reproduce this is here: here, rendered with these parameters.
Brief factsheet:
- Single file, weights 88kb, the vast majority is the embedded fonts so that it looks the same everywhere.
- Well-formatted, readable D2 text (i.e. has newlines) is 85 lines.
- Configurable. This animation has 1400ms intervals, but if you want the animation to linger for longer and shorter, simply change the flags.
- Easily split into 2 separate SVGs (the default behavior of CLI when a flag is not passed in to animate).