3 ms·
Overall it works well. There are some rough edges though. Textual annotations do not work well and are nowhere visually pleasantly placed "near" where they shou
by jhoechtl 4y ago
Overall it works well. There are some rough edges though. Textual annotations do not work well and are nowhere visually pleasantly placed "near" where they should perceptually go.
https://d2lang.com/tour/text#how-do-i-position-text https://d2lang.com/tour/text#how-do-i-position-text
After creating a somewhat complex "systems diagram" I also have a mixed feeling if the more verbose syntax compared to Mermaid actually is an advantage.
- bmitc 4y agoInteresting, I see in your link that it supports MathJax, which is awesome and was a question I just had before following your link. I actually needed that recently. I was using Mermaid, but I am not aware of Mermaid supporting MathJax or KaTeX.
- alixanderwang 4y agoD2 offers 3 layout engines. 1 of them we made and 2 open source ones. Each have their limitations, and "near" is a keyword that's only supported in TALA right now. (it's there in the docs you linked) https://play.d2lang.com/?script=PJG7qsJAEIb7eYofTp0XSHFELMTaIqVMMqMb2GTDXlzF5N1lV7EZGP5vLvBxDi1eBFjHcunZ8jyoR_MPXkZCqaWRnja6DdYl-eCcovkF36RO5UCkj8XyzMVKi3USAv7QmSfEIStSUOy7846ABqcIwwGT84q0xHFSRMMzjoeysiKdwvBdcfWqGLzKGAOt9Y3ioK1HN3oHAAD__w%3D%3D&layout=tala https://play.d2lang.com/?script=PJG7qsJAEIb7eYofTp0XSHFELMTa...