3 ms·
I think one advantage in GraphViz is the ability to output EPS. I use this often for embedding into PDF via XeLaTeX and Pandoc filters. I also saw that D2 offer
by justusw 4y ago
I think one advantage in GraphViz is the ability to output EPS. I use this often for embedding into PDF via XeLaTeX and Pandoc filters. I also saw that D2 offers some kind of LaTeX output, but was not able to dig into the docs there further.
- alixanderwang 4y agoYeah it's just Mathjax equations. E.g. https://play.d2lang.com/?script=PNCxCsJADIfxPU_xH1uk4NzBJwlIkAtXTFs9r3iQ5t2lDl2_5YPfy2R51nXBcIOuZd5MRnwnM3xqEqOzOQHpvclBPWI3qakRADDbNN89g7kcfv8xrggwa5GHa9cuuR-0a314DgJ2CvoFAAD__w%3D%3D&layout=dagre https://play.d2lang.com/?script=PNCxCsJADIfxPU_xH1uk4NzBJwlI... I'm not familiar with EPS. Will investigate, ty. https://github.com/terrastruct/d2/issues/489 https://github.com/terrastruct/d2/issues/489
- justusw 4y agoI appreciate it! Mscgen also supports EPS, but I realize D2 is way, way more general, so having one tool and one syntax for everything would be great.