Open chainofreasoning opened 1 year ago
@chainofreasoning thank you! I tried inserting that, but couldn't get it to work. Here's the branch, feel free to give it a shot: https://github.com/terrastruct/text-to-diagram-site/pull/42
@alixander The problem is not with the PlantUML syntax. The problem is with the classpath configuration of how the site text-to-diagram-site is executing PlantUML. I'll put the notes in #42.
yeah i'm sure the syntax is fine, as i was able to repro on their web runner. but it needs to be reproducible locally
PlantUML supports math via AsciiMath and Latex (via JLaTeXMath). The comparison presents a view of a legacy approach to generating diagrams into LaTeX versus rendering diagrams with LaTeX.
(Here's a similar project for rendering PlantUML into LaTeX: )
For rendering math in PlantUML see this area. Go here to see the recent changes and evolution.
I created an example to test:
Paste the above at the following links to see it render:
I came across D2 as I am starting a new project and evaluating the latest in text to diagrams prior to selection of the rest of my tooling. In doing a feature/capability comparison, I found the above.
Of note in my comparison, I didn't find a functional way to add/render LaTeX to labels for connection in D2. I provided that as part of this example.