MyGit

v0.1.4

terrastruct/d2

版本发布时间: 2022-12-31 14:00:57

terrastruct/d2最新发布版本:v0.6.7(2024-09-29 07:27:22)

This release introduces interactive diagrams. Namely, tooltip and link can now be set, which allows you to hover to see more or click to go to an external link. This small change enables many possibilities, including richer integrations like internal wiki's that can be linked together through diagrams. An icon will indicate that a shape has a tooltip that can be hovered over for more information, or a link. We have much more in store for interactivity, stay tuned!

Screen Shot 2022-12-30 at 6 47 45 PM

Since interactive features obviously won't work on static export formats like PNG, they will be included automatically in an appendix when exporting to those formats, like so:

tooltip

This release also gives more power to configure layouts. width and height are D2 keywords which previously only worked on images, but now work on any non-containers. Additionally, all the layout engines have configurations exposed. D2 sets sensible defaults to each layout engine without any input, so this is meant to be an advanced feature for users who want that extra control.

Happy new years!

Features 🚀

Improvements 🧹

Bugfixes ⛑️

Breaking changes

相关地址:原始地址 下载(tar) 下载(zip)

1、 d2-v0.1.4-linux-amd64.tar.gz 15.49MB

2、 d2-v0.1.4-linux-arm64.tar.gz 14.46MB

3、 d2-v0.1.4-macos-amd64.tar.gz 15.33MB

4、 d2-v0.1.4-macos-arm64.tar.gz 14.88MB

5、 d2-v0.1.4-windows-amd64.msi 13.5MB

6、 d2-v0.1.4-windows-amd64.tar.gz 15.3MB

7、 d2-v0.1.4-windows-arm64.tar.gz 14.38MB

查看:2022-12-31发行的版本