Skip to content

v0.2.3

Compare
Choose a tag to compare
@alixander alixander released this 04 Mar 20:00
· 2125 commits to master since this release
fb20527

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