Re:Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
by DominikPeters on Tuesday June 23, 2026 @03:23PM
(#48650026)
Attachment works for (text) nodes because they have anchors - you should see green attachment dots when drawing new lines or moving existing lines.
When using draw.io I’d suggest exporting to PDF instead of PNG so you keep it as vector graphics.
Re:Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
by tombert on Tuesday June 23, 2026 @03:48PM
(#48650345)
> When using draw.io I’d suggest exporting to PDF instead of PNG so you keep it as vector graphics.
I had trouble getting that working (admittedly years ago) and as long as you have a high enough resolution people can't really tell a difference between it and SVG, though obviously it will make the filesize bigger.
Just tried the text nodes and indeed the arrows work. I guess I would also suggest doing the same for regular shapes.
Re:Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
by sureglymop on Tuesday June 23, 2026 @03:28PM
(#48650105)
Can't you save a drawio file as .drawio.svg?
I've done diagrams with it a few times and just used Computer Modern to make the diagrams look the same as the text. Good enough.
I know people like it, but I hate writing TikZ manually, to the point that I've mostly moved most of my technical-ish drawings to draw.io/diagrams.net, and then just export to a PNG. I feel like it's inelegant, but it works well enough and it's easy to make something that looks ok. Generally I'm all for text-defined stuff.
I have moved some of my stuff to Mermaid when I know my stuff is going to live in Markdown but I've not tried to get that working in TeX.
That said, I would like to use TikZ just because it's kind of the idiomatic way of doing diagrams in LaTeX, so a WYSIWYG might be useful.
One suggestion, I would like the arrows to be able to "attach" to the boxes, as in the arrow endpoints can move when you move the boxes. That's how draw.io does it.