Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX

(tikz.dev)

Comments

gignico 2 hours ago
I've tried it now a little. The UI looks very cool, and generally the project is cool so congrats!

However, the generated TikZ code is not good in my opinion. Everything uses absolute coordinates, which in TikZ is seldom needed.

Just to start, if I place a single node I get absolute coordinates for it. Why? If you just write `\node {Hello};`, TikZ will put that at the center of the bounding box. No need to tell it's at `(0.5,2.91)` like it's happening in my test. Then features such as "align bottom" for a selection of multiple nodes should are manipulating the absolute coordinates instead of using TikZ's alignment features (anchors etc.).

I understand generating such code is more difficult. Maybe it can be something to point at for the next version, who knows...

tombert 1 hour ago
This is cool!

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.

j2kun 5 hours ago
Neat! I also enjoyed https://q.uiver.app/ by https://github.com/varkor which is a bit more specialized.
lopsotronic 2 hours ago
Ah, I love CircuitiTikZ. Only way to do simple text-based circuit diagrams.

https://ctan.org/pkg/circuitikz?lang=en

https://github.com/circuitikz/circuitikz

Some years ago I wired it up with `asciidoctor-diagram` so we could have simple circuits in our Asciidoc maintenance manuals. The techs loved the hell out of it, and we could collaborate on the things in a git versioned ecosystem vs whatever fresh hell the PDM/ERP had for us.

A very nice complement to the already awesome WireViz (https://github.com/wireviz/WireViz)

master-lincoln 5 hours ago
As a student I really wanted something like this. Thanks for making it open source. My theoretical computer science prof happened to be Till Tantau the inventor of TikZ. An awesome communicator too.
haritha1313 19 minutes ago
Ah this is so cool! Wish I had it in my research days.
__mharrison__ 5 hours ago
This is very cool, but I'm going to say the inevitable...

How hard would it be to support cetz? I'm not touching LaTeX if I can avoid it, but I'm using Typst all the time.

pixlmint 1 hour ago
This is cool, I vibecoded something similar for a school project, but this looks much more mature, thanks for sharing!
sorenjan 5 hours ago
Looks really nice. You might consider adding some presets to make it easier to get started, like some common neural net architectures and other use cases for TikZ.
mcswell 3 hours ago
I'm running Linux Mint (xfce version), and I installed the .deb version (TikZ.Editor_0.4.0_amd64.deb). It's very odd...for example, when I open it or do File/New, many (but not all) of the grid cells are rectangles, not squares. Am I doing something wrong, like installing the wrong version? Or maybe misinterpreting what the faint grey lines are?
GL26 5 hours ago
All STEM students and researches from the world thank you
Littice 5 hours ago
The killer feature for me is not drawing TikZ visually, but being able to touch old TikZ without turning the source into generated-looking soup.
wjholden 2 hours ago
Oh man, good on you identifying a product that needs to exist. I've used a few TikZ editors (both online and desktop) and none of them are just amazing.

But, I've taken my papers to Typst. Could you have the agent do the same thing for Cetz, the TikZ equivalent for Typst?

delta_p_delta_x 5 hours ago
This is superb. Will you consider adding support for pgfplots[1]? When I was a student I was long considering writing a native application for real-time TikZing.

[1]: https://ctan.org/pkg/pgfplots?lang=en

whatever1 5 hours ago
OMG! Psychiatrists are going to lose all of their graduate customers!

The world thanks you.

srean 3 hours ago
Is their anyone here old enough to remember Xfig ?

I was quite proud of the hours of work I had put in to configure it just so, with the 3d look and all.

adityamwagh 5 hours ago
Hey! I've always wanted something like this! Thanks for building this!
meghanto 3 hours ago
Are you open to people repurposing this app as a plugin to larger apps like obsidian?
otto-riz 2 hours ago
> the kind of task that no human would ever want to do

I'm not an AI evangelist, but this kind of thing is such a welcome boon. More itches can be scratched!

dvorka 4 hours ago
I needed exactly this for years excellent work!
emil-lp 5 hours ago
Here's what I would need: the ability to position five nodes in a circular fashion, so that they are evenly spaced.
cckolon 3 hours ago
This is so cool. I would have loved this in college.
dima-quant 5 hours ago
This is great, nice concept! Good use of coding agents. Now I can make diagrams much faster.
djmips 3 hours ago
"TikZ ist kein Zeichenprogramm" (German for "TikZ is not a drawing program"). :-)
hosteur 5 hours ago
Wow. I would have loved something like this when I was studying in University.
quantummagic 5 hours ago
Great job! Thank you for making it open source.

At some point the people who seethe with hate for AI, and claim it's all hallucinations and illegitimate hype, are going to have to admit they were wrong. Projects like this are the proof staring them right in the face, if they care to look.

cubefox 3 hours ago
That's cool. I guess it doesn't support TikZ' relative positioning (left of etc) because WYSIWYG features like drag-and-drop require absolute positioning?
david_2107 5 hours ago
That's awesome! Long overdue.
k33n 5 hours ago
Wow, this is really, really great. Congratulations on an excellent offering and piece of tech!