github terrastruct/d2 v0.2.3

latest releases: v0.6.6, v0.6.5, v0.6.4...
18 months ago

Diagrams that link between objects and the source they represent are much more integrated into your overall documentation than standalone diagrams. This release brings the linking feature to PDFs! Try clicking on "GitHub" object in the following PDF:

linked.pdf

Code blocks now adapt to dark mode:

Screen Shot 2023-03-04 at 11 33 46 AM

Welcome new contributor @donglixiaoche , who helps D2 support border-radius on connections!
Screen Shot 2023-03-04 at 11 33 46 AM

Features ๐Ÿš€

  • PDF exports support linking #891, #966
  • border-radius is supported on connections (ELK and TALA only, since dagre uses curves). #913

Improvements ๐Ÿงน

  • Code blocks adapt to dark mode #971
  • SVGs are fit to top left by default to avoid issues with zooming. #954
  • Person shapes have labels below them and don't need to expand as much. #960

Bugfixes โ›‘๏ธ

  • Fixes a regression where PNG backgrounds could be cut off in the appendix. #941
  • Fixes zooming not working in watch mode. #944
  • Fixes insufficient vertical padding in dagre with direction: right/left. #973

Don't miss a new d2 release

NewReleases is sending notifications on new releases.