v0.0.13

d2lang/d2v0.0.13Nov 21, 2022by alixander

AI Summary

Adds PNG export capability and brings CLI flags in line with environment variables for better usability.

Key Highlights

  • Ability to export to PNG.
  • CLI flags are now equivalent to environment variables.

New Features

  • PNG export capability.
  • Equivalency between CLI flags and environment variables.
  • Install script now uses `brew` for macOS.

Full Release Notes

#### Features 🚀

- Ability to export to PNG.

#### Improvements 🔧

- There is now equivalency between CLI flags and environment variables. For any option,
  you can set either the flag or its equivalent environment variable (flags take
  precedence). See `d2 --help` for more.
- Install script now uses `brew` for macOS machines with `brew` installed.

#### Bugfixes 🔴

- Labels for Image shapes in dagre and ELK are now placed above the shape, to not overlap
  with the actual image.